• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Guestbook layout changes when click pic, i want it to stop

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Jan-30-2009, 09:51 PM
#1
speric is offline speric OP
Big grins
Guestbook layout changes when click pic, i want it to stop
if you click the photo in my guestbook, the layout changes. how do i get this to stop?
My Guestbook Page

Thanks

edit: i also notice that comments don't show in Safari.
Old Jan-30-2009, 10:06 PM
#2
jfriend is offline jfriend
Scripting dude-volunteer
Add this to line your Bottom Javascript to remove the clickability of that one image:

Code:
// Remove clickability on guestbook image
YE.onContentReady("image_461071267", function () {this.parent.href="javascript:void(0);"});
I see the guestbook comments fine in Safari on Vista.
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Jan-31-2009, 03:16 PM
#3
speric is offline speric OP
Big grins
Quote:
Originally Posted by jfriend
Add this to line your Bottom Javascript to remove the clickability of that one image:

Code:
// Remove clickability on guestbook image
YE.onContentReady("image_461071267", function () {this.parent.href="javascript:void(0);"});
I see the guestbook comments fine in Safari on Vista.
it didn't seem to work. it still changes the lay-out.

i'm using safari on a mac and the only time the comments show is after clicking the photo. i figure it must be the issue with safari not working right with some sites.
Old Jan-31-2009, 04:59 PM
#4
jfriend is offline jfriend
Scripting dude-volunteer
Quote:
Originally Posted by speric
it didn't seem to work. it still changes the lay-out.

i'm using safari on a mac and the only time the comments show is after clicking the photo. i figure it must be the issue with safari not working right with some sites.
It didn't work because I had a typo in the code I gave you. This should work to remove the clickability:

Code:
// Remove clickability on guestbook image
YE.onContentReady("image_461071267", function () {this.parentNode.href="javascript:void(0);"});
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump