For those interested in a quick little project...

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default 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>&nbsp;&nbsp;&nbsp;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'>&nbsp;</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>&nbsp;US/Canada,
    enter zip code&nbsp; <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'>&nbsp;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'>&nbsp;</font></td><td width='63%'>&nbsp;</td><td
    width='34%'>&nbsp;</td></tr></table></td></tr></table></td></tr>


    </table>
    </form>

    drewangell Guest

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. anyone interested on a pay project?
      please contact me asap
    5. 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). ...
  3. #2

    Default 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>&nbsp;&nbsp;&nbsp;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'>&nbsp;</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>&nbsp;US/Canada,
    > enter zip code&nbsp; <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'>&nbsp;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'>&nbsp;</font></td><td width='63%'>&nbsp;</td><td
    > width='34%'>&nbsp;</td></tr></table></td></tr></table></td></tr>
    >
    >
    > </table>
    > </form>
    >

    clintonG Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139