Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2003
    Posts
    69
    Thanks
    43
    Thanked 0 Times in 0 Posts

    javascript auto resizing script help

    Hi can anyone tell me what I am doing wrong here -

    http://someblueshouse.web1000.com/statuary.html

    I am trying to get that first rabbit thumbnail to have a pop up of a larger rabbit and the larger rabbit doesn't pop up.
    I am using this codelifter script -

    http://www.codelifter.com/main/java...imagepopup.html

    Thanks

  • #2
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    the problem is that were u have <a href="javascript:popImage('http://someblueshouse.web1000.com/images/rabbit1.jpg','rabbit unpainted $25, 10 1/2" tall 11" deep')">

    were u say
    10 1/2" tall and 11" deep

    those two quotes representing inches are messing up with the quotation marks at href=" and ')"> if u remove those two quotation marks at ... 10 1/2" tall and 11" deep ... and make that part something like
    10 1/2 inches tall and 11 inches deep
    it works fine!
    Last edited by kwhubby; 07-07-2003 at 08:29 AM.
    Kris Hubby
    kwhubby site

  • #3
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    when inside quote, use \ in front of any sign that might be a javascript mark, especially ".
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #4
    New Coder
    Join Date
    Jul 2003
    Posts
    69
    Thanks
    43
    Thanked 0 Times in 0 Posts

    Thanks!

    Hey thanks alot you guys! Now I can continue with the web page. That was my first pop up window thing and it had me scratching my head. I never would have guessed that the quote marks I had in there were fouling things up. For now I just wrote out inches in there but I might try that \ in front of my inches quotes later.

    Thanks again I really appreciate the help.

    Will

  • #5
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    :-) try thinking in pixels, instead of inches...
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


  •  

    Posting Permissions

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