View Full Version : javascript auto resizing script help

07-07-2003, 06:45 AM
Hi can anyone tell me what I am doing wrong here -


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 -



07-07-2003, 08:27 AM
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!

07-07-2003, 09:49 AM
when inside quote, use \ in front of any sign that might be a javascript mark, especially ".

07-07-2003, 05:36 PM
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.


07-07-2003, 05:59 PM
:-) try thinking in pixels, instead of inches...