Ask a Question related to Dreamweaver AppDev, Design and Development.
-
drewangell #1
For those interested in a quick little project...
Freightquote.com allows you to post a freight calculator inside of your eBay
auctions. It's a neat tool, however, you cannot create the freightquote
calculator until after you've posted your ebay auction because you need the
ebay item number to paste into the calculator creator.
I talked with the guy at freightquote.com and explained how this is too tedius
to do for all of our auctions. He said that one solution might be to create the
calculator for one auction and then copy the code that it inserts for use with
other auctions. I've attached the code that's used to create the freightquote
calculator.
My plan was to take this code and hopefully be able to expand it into an ASP
application which takes the input from a user form and replaces data in the
calculator code on the fly with what the user input. I'm having a couple of
problems though. First, I don't know javascript that well and this is confusing
me. Second, as you can see in the window.open line the first thing it's doing
is calling a web page and using request variable AucionID and puts the auction
number in there. Well, once again you don't know the auction number until AFTER
you've posted your auction.
After another brief conversation with FreightQuote I was told that I could
possibly just take that line out. He said they just use that in order to know
what auction they need to update. They calculator creator goes into your ebay
auction and revises it with the calculator code. Since I don't need to revise
any auctions with my plan maybe I can take this out...??? But I'm stuck. It
seems like it'd be simple if I knew what I was doing.
If anybody wants to give this a shot I'd be happy to PayPal $20 or something.
maybe more if it's a more complicated task.
Any guidance on completing this myself would be nice too. Thanks!
<form method=post name='frmFreightQuote'>
<script language='Javascript'>
function OpenFQWidget()
{var sString;
if (document.frmFreightQuote.Loc[1].checked) {sString='&DEST=INTL';}else
{sString='&DEST=US&ZIP=' +
document.frmFreightQuote.txtZip.value;}window.open
('http://ebay.freightquote.com/FreightCalculator.asp?AuctionID=5969603928' +
sString, 'FQWidget', 'width=600,height=400,toolbar=0,location=0,directo
ries=0,status=0,menubar=0,scrollbars=1,resizable=1 ');}
</script>
<table bgcolor='#FFFFFF' border='1' cellpadding='0' cellspacing='0'
width='475' bordercolor='#CCCCFF'>
<tr>
<td>
<table border='0' cellpadding='0' cellspacing='0' width='475'><tr><td
width='43' rowspan='2' valign='top'>
<font face='Arial' size='1'><img border='0'
src='http://ebay.freightquote.com/images/sCalcVI_icon_44x42.gif' width='44'
height='42'></font>
</td>
<td width='426' height='26' bgcolor='#CCCCFF'><table border='0'
cellpadding='0' cellspacing='0' width='100%'><tr><td width='62%'><font
face='Arial' size='3'><b> Freight Shipping
Calculator</b></font></td><td width='38%' align='right'><img border='0'
src='http://ebay.freightquote.com/images/PoweredBy-bluebkg.gif' width='115'
height='14'></td></tr></table></td></tr><tr><td
width='426'> </td></tr><tr><td width='43' valign='top'></td><td
width='426'><table border='0' cellpadding='0' cellspacing='0'
width='100%'><tr><td width='3%'></td><td width='63%'><font face='Arial'
size='2'>Please Select the Destination:</font></td><td
width='34%'></td></tr><tr><td width='3%'></td><td width='63%'><font
face='Arial' size='2'><input type='radio' name='Loc' checked> US/Canada,
enter zip code <input type='text' name='txtZip' size='6'
maxlength='7'></font></td><td width='34%'></td></tr><tr><td width='3%'></td><td
width='63%'><font face='Arial' size='2'><input type='radio'
name='Loc'> International</font></td><td width='34%' align='center'><input
type='button' value='Calculate' name='cmdCalculate'
onClick='OpenFQWidget()'></td></tr><tr><td width='3%'><font face='Arial'
size='2'> </font></td><td width='63%'> </td><td
width='34%'> </td></tr></table></td></tr></table></td></tr>
</table>
</form>
drewangell Guest
-
FYI: For those interested in the next version of ASP.NET...
For those interested in the next version of ASP.NET... Start building an ASP.NET 2.0 site today: Download Visual Web Developer 2005 Express... -
For those interested in the next version of ASP.NET...
You ought to start seeding the Macromedia newsgroups.. Now that Adobe intends to acuire Macromedia the smarter designers and developers will know... -
Quick & Dirty way to publish your .pub project to the web
This is a quick and dirty way to publish your .pub file to the web. The downside is the search engines won't be able to index it except by your Meta... -
anyone interested on a pay project?
please contact me asap -
Anyone interested on working with us?
Any one with good Flash Skills would be interested in working on a flash layout for a Fan site for Linkin Park called "" (Digital Linkin Park). ... -
clintonG #2
Re: For those interested in a quick little project...
eBay now supports web services and publishes an API for development of
processes that can integrate with auction data. It may be possible to use a
web service to return the value of the AuctionID automatically when the
auction itself is created.
Modifying the JavaScript is not the difficult part. It will be determining
the optimal methodology to get the AuctionID QueryString value before the
page loads which a web service can make happen. Much more costly than a
quick twenty bucks I have to say as eBay gets paid and so will the developer
you'll need to work with.
I think 'your plan' is possible but still laborious, requires redundant
operations and bass ackwards if a web service can be used instead.
have you inquired about this via the eBay forums?
--
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL [url]http://metromilwaukee.com/[/url]
URL [url]http://clintongallagher.metromilwaukee.com/[/url]
"drewangell" <webforumsuser@macromedia.com> wrote in message
news:d46n7f$m1o$1@forums.macromedia.com...> Freightquote.com allows you to post a freight calculator inside of your
> eBay
> auctions. It's a neat tool, however, you cannot create the freightquote
> calculator until after you've posted your ebay auction because you need
> the
> ebay item number to paste into the calculator creator.
>
> I talked with the guy at freightquote.com and explained how this is too
> tedius
> to do for all of our auctions. He said that one solution might be to
> create the
> calculator for one auction and then copy the code that it inserts for use
> with
> other auctions. I've attached the code that's used to create the
> freightquote
> calculator.
>
> My plan was to take this code and hopefully be able to expand it into an
> ASP
> application which takes the input from a user form and replaces data in
> the
> calculator code on the fly with what the user input. I'm having a couple
> of
> problems though. First, I don't know javascript that well and this is
> confusing
> me. Second, as you can see in the window.open line the first thing it's
> doing
> is calling a web page and using request variable AucionID and puts the
> auction
> number in there. Well, once again you don't know the auction number until
> AFTER
> you've posted your auction.
>
> After another brief conversation with FreightQuote I was told that I could
> possibly just take that line out. He said they just use that in order to
> know
> what auction they need to update. They calculator creator goes into your
> ebay
> auction and revises it with the calculator code. Since I don't need to
> revise
> any auctions with my plan maybe I can take this out...??? But I'm stuck.
> It
> seems like it'd be simple if I knew what I was doing.
>
> If anybody wants to give this a shot I'd be happy to PayPal $20 or
> something.
> maybe more if it's a more complicated task.
>
> Any guidance on completing this myself would be nice too. Thanks!
>
>
>
> <form method=post name='frmFreightQuote'>
> <script language='Javascript'>
> function OpenFQWidget()
> {var sString;
> if (document.frmFreightQuote.Loc[1].checked) {sString='&DEST=INTL';}else
> {sString='&DEST=US&ZIP=' +
> document.frmFreightQuote.txtZip.value;}window.open
> ('http://ebay.freightquote.com/FreightCalculator.asp?AuctionID=5969603928'
> +
> sString, 'FQWidget', 'width=600,height=400,toolbar=0,location=0,directo
> ries=0,status=0,menubar=0,scrollbars=1,resizable=1 ');}
> </script>
> <table bgcolor='#FFFFFF' border='1' cellpadding='0' cellspacing='0'
> width='475' bordercolor='#CCCCFF'>
> <tr>
> <td>
> <table border='0' cellpadding='0' cellspacing='0' width='475'><tr><td
> width='43' rowspan='2' valign='top'>
> <font face='Arial' size='1'><img border='0'
> src='http://ebay.freightquote.com/images/sCalcVI_icon_44x42.gif'
> width='44'
> height='42'></font>
> </td>
> <td width='426' height='26' bgcolor='#CCCCFF'><table border='0'
> cellpadding='0' cellspacing='0' width='100%'><tr><td width='62%'><font
> face='Arial' size='3'><b> Freight Shipping
> Calculator</b></font></td><td width='38%' align='right'><img border='0'
> src='http://ebay.freightquote.com/images/PoweredBy-bluebkg.gif'
> width='115'
> height='14'></td></tr></table></td></tr><tr><td
> width='426'> </td></tr><tr><td width='43' valign='top'></td><td
> width='426'><table border='0' cellpadding='0' cellspacing='0'
> width='100%'><tr><td width='3%'></td><td width='63%'><font face='Arial'
> size='2'>Please Select the Destination:</font></td><td
> width='34%'></td></tr><tr><td width='3%'></td><td width='63%'><font
> face='Arial' size='2'><input type='radio' name='Loc'
> checked> US/Canada,
> enter zip code <input type='text' name='txtZip' size='6'
> maxlength='7'></font></td><td width='34%'></td></tr><tr><td
> width='3%'></td><td
> width='63%'><font face='Arial' size='2'><input type='radio'
> name='Loc'> International</font></td><td width='34%'
> align='center'><input
> type='button' value='Calculate' name='cmdCalculate'
> onClick='OpenFQWidget()'></td></tr><tr><td width='3%'><font face='Arial'
> size='2'> </font></td><td width='63%'> </td><td
> width='34%'> </td></tr></table></td></tr></table></td></tr>
>
>
> </table>
> </form>
>
clintonG Guest



Reply With Quote

