Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Please help not sure how to get past the Syntax error

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Please help not sure how to get past the Syntax error

    I have done the following js file to put onto my eBay listings the problem starts with ' please can anyone advise what i should do or if i've done the complete file?
    <link rel="stylesheet" type="text/css" href="http://www.netlogisticsuk.com/ebay/vauxhall/JScript/CarsNewStart.css" /><script type="text/javascript">(document.getElementById ? DOMCapable = true : DOMCapable = false);function hide(menuName){if (DOMCapable){var theMenu = document.getElementById(menuName+"choices");theMenu.style.visibility = 'hidden';}}function show(menuName){if (DOMCapable){var theMenu = document.getElementById(menuName+"choices");theMenu.style.visibility = 'visible';}}</script></head><body dir="rtl"><div id="CarMenu1" dir="rtl" class="VauxCars" onMouseOver="show('CarMenu1');" onMouseOut="hide('CarMenu1');"><div class="menuHead" align="center" align="center"><a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Agila+B&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxAgila_B.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br>Agila B</br></a></div><div id="CarMenu1choices" align="center" class="menuChoices"> <a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Corsa+c&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxAgila_A.png" alt="" width="95px" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br>Agila A</br></a></div></div><div id="CarMenu2" dir="rtl" class="VauxCars" onMouseOver="show('CarMenu2');" onMouseOut="hide('CarMenu2');"><div class="menuHead" align="center"><align="center" valign="top"><a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Antara&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxAntara.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br></a><a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Antara&submit=Search&_sid=941321149" target="_blank"><span class="black">Antara</span></a></div></div><div id="CarMenu3" dir="rtl" class="VauxCars" onMouseOver="show('CarMenu3');" onMouseOut="hide('CarMenu3');"><div class="menuHead" align="center"><a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Astra+J&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxAstra_J.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br><span class="black">Astra J</span></a></div> <div id="CarMenu3choices" align="center" class="menuChoices"> <a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Astra+H&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxAstra_H.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br><span class="black">Astra H</span></a><br /><a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Astra+G&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxAstra_G.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br><span class="black">Astra G</span></a><br /><a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Astra+Coupe&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxAstra_G_Coupe.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br><span class="black">Astra G Coupe</span></a><br /></div></div><div id="CarMenu4" dir="rtl" class="VauxCars" onMouseOver="show('CarMenu4');" onMouseOut="hide('CarMenu4');"><div class="menuHead" align="center"><a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Corsa+d&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxCorsa_D.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br>Corsa D</br></a></div> <div id="CarMenu4choices" align="center" class="menuChoices"> <a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Corsa+c&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxCorsa_C.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br>Corsa C</br></a><br /></div></div><div id="CarMenu5" dir="rtl" class="VauxCars" onMouseOver="show('CarMenu5');" onMouseOut="hide('CarMenu5');"><div class="menuHead" align="center"><a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Insignia&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxInsignia.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br>Insignia</span></a></div> <div id="CarMenu5choices" class="menuChoices"> </div></div><div id="CarMenu6" dir="rtl" class="VauxCars" onMouseOver="show('CarMenu6');" onMouseOut="hide('CarMenu6');"><div class="menuHead" align="center"><a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Meriva+B&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxMeriva_B.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br><span class="black">Meriva B</span></a></div> <div id="CarMenu6choices" align="center" class="menuChoices"> <a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Meriva+A&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxMeriva_A.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br><span class="black">Meriva A</span></a><br /></div></div><div id="CarMenu7" dir="rtl" class="VauxCars" onMouseOver="show('CarMenu7');" onMouseOut="hide('CarMenu7');"><div class="menuHead" align="center"><a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Vectra+C&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxVectra_C.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br><span class="black">Vectra C</span></a></div> <div id="CarMenu7choices" align="center" class="menuChoices"> <a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Vectra+B&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxVectra_B.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br><span class="black">Vectra B</span></a><br /></div></div><div id="CarMenu8" dir="rtl" class="VauxCars" onMouseOver="show('CarMenu8');" onMouseOut="hide('CarMenu8');"><div class="menuHead" align="center"><a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Zafira+B&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxZafira_B.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br><span class="black">Zafira B</span></a></div> <div id="CarMenu8choices" align="center" class="menuChoices"> <a href="http://stores.ebay.co.uk/Parts4Sale-UK/_i.html?_nkw=Zafira+A&submit=Search&_sid=941321149" target="_blank"><img src="http://www.netlogisticsuk.com/ebay/images/SmallCars/VauxZafira_A.png" alt="" width="95" border="0"align="center" style="opacity:0.4;filter:alpha(opacity=40)" onMouseOver="this.style.opacity=1;this.filters.alpha.opacity=100" onMouseOut="this.style.opacity=0.4;this.filters.alpha.opacity=40" /><br><span class="black">Zafira A</span></a><br /></div></div><script type="text/javascript">if (DOMCapable){hide("CarMenu1"); hide("CarMenu2");hide("CarMenu3");hide("CarMenu4"); hide("CarMenu5");hide("CarMenu6");hide("CarMenu7");hide("CarMenu8");}</script>
    Last edited by helloworld922; December 23rd, 2011 at 12:08 PM.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Please help not sure how to get past the Syntax error

    Try asking javascript questions on a javascript forum.

  3. #3
    Senile Half-Wit Freaky Chris's Avatar
    Join Date
    Mar 2009
    Posts
    834
    My Mood
    Cynical
    Thanks
    7
    Thanked 105 Times in 90 Posts

    Default Re: Please help not sure how to get past the Syntax error

    I have moved this to the other programming languages section of our forum.

    This is a Java Forum, not a JavaScript forum, please make a note od the differences between the two! They are very different and should not be confused.

    is it valid for a JavaScript file to use an HTML <link /> tag?

    Chris

Similar Threads

  1. MySQL Syntax Error
    By tarkal in forum What's Wrong With My Code?
    Replies: 6
    Last Post: November 30th, 2011, 03:29 PM
  2. Syntax error with dispose()
    By jagnat in forum AWT / Java Swing
    Replies: 1
    Last Post: October 14th, 2011, 11:00 AM
  3. do while syntax error problem
    By derekxec in forum What's Wrong With My Code?
    Replies: 5
    Last Post: July 1st, 2011, 06:30 PM
  4. problems getting past the out of bounds error
    By dbdny in forum What's Wrong With My Code?
    Replies: 4
    Last Post: April 28th, 2011, 05:57 PM
  5. Having Issues Past this
    By baGoGoodies111 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 12th, 2009, 08:19 PM