By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,473 Members | 1,267 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,473 IT Pros & Developers. It's quick & easy.

Click on image, open a pop up with full size image

SashaFire
P: 5
Okay so on my website I was using a method that worked for the longest time until I just realized that it is no longer working. Here is the code I was using

Expand|Select|Wrap|Line Numbers
  1. <div align="center">
  2. <TABLE BORDER="0" cellspacing=0>
  3.  
  4.  
  5.  
  6. <A HREF="javascript:CaricaFoto('http://firegypsy.com/images/Fire/Grinder/401683_10200207215283628_2012290924_n.jpg')" BORDER="0">
  7.   <IMG SRC="http://firegypsy.com/images/Fire/Grinder/401683_10200207215283628_2012290924_n.jpg" BORDER="0" height=150 alt="Grinder Girl, Grinder Act, Sparks Show" title="Grinder Girl, Grinder Act, Sparks Show"></A>
  8.   </TD>
  9.  
  10. <A HREF="javascript:CaricaFoto('http://firegypsy.com/images/Fire/Grinder/537672_10200207227763940_1115737955_n.jpg')" BORDER="0">
  11.   <IMG SRC="http://firegypsy.com/images/Fire/Grinder/537672_10200207227763940_1115737955_n.jpg" BORDER="0" height=150 alt="Grinder Girl, Grinder Act, Sparks Show" title="Grinder Girl, Grinder Act, Sparks Show"></A>
  12.   </TD>
  13.  
  14.  </TR>
  15. </TABLE>
  16. </div>
  17. </center>


So now that it is no longer working, I need to find a new way to simply have the full size image pop up when the smaller image is clicked.
Dec 13 '12 #1
Share this Question
Share on Google+
8 Replies


Rabbit
Expert Mod 10K+
P: 12,430
We need to see the code for the function that stopped working.
Dec 13 '12 #2

SashaFire
P: 5
The code I posted is the code I used. I found it on the internet and it worked for close to a year. I don't know where the original code came from (I am assuming CaricaFoto) and I know nothing about JS.
Dec 13 '12 #3

SashaFire
P: 5
Perhaps someone can recommend another easy to use code?
Dec 13 '12 #4

Dormilich
Expert Mod 5K+
P: 8,639
there’s probably nothing wrong with the function, but the error console complains about a parser error (well, I would too if I found a <meta> tag inside a <script> tag).

you should check the HTML (http://validator.w3.org/ ) of the whole site, there are some serious HTML errors (like double <head> section), the validator lists 189 on the gallery page alone.
Dec 13 '12 #5

SashaFire
P: 5
Wow...umm...yeah apparently I have a lot of work to do...
Dec 13 '12 #6

Dormilich
Expert Mod 5K+
P: 8,639
I would love to check out one of your performances someday, alas …
Dec 13 '12 #7

SashaFire
P: 5
Thanks! And I would love to have your knowledge of this stuff because I looked at all those errors and it looks like kjdbhdskgbdkfvhjbakbgv to me honestly. i don't have a damn clue what I am doing, really. But I did fix the popup thing though!
Dec 13 '12 #8

Dormilich
Expert Mod 5K+
P: 8,639
And I would love to have your knowledge of this stuff
I’m doing that for over a decade now … (just for info)


PS. I wish my Fire Gypsy would have your knowledge and skills.
Dec 13 '12 #9

Post your reply

Sign in to post your reply or Sign up for a free account.