PDA

View Full Version : Guestbook Gallery: non-linkable picture?


digital faerie
Jan-01-2006, 08:28 AM
Ok, I set up my guestbook like a lot of others on here by using a journal-styled gallery with one photo.

My question is this, and I've searched for this in the wonderful FAQ Mike has, and the forum, but cannot find this, so I apologize in advance.....

but is it possible to have that picture I have in my guestbook non-linkable? Or, to make it so that if someone clicks on the picture, it takes them back to the home page? :dunno

http://digitalfaerie.smugmug.com/gallery/1084161

Andy
Jan-01-2006, 08:30 AM
Ok, I set up my guestbook like a lot of others on here by using a journal-styled gallery with one photo.

My question is this, and I've searched for this in the wonderful FAQ Mike has, and the forum, but cannot find this, so I apologize in advance.....

but is it possible to have that picture I have in my guestbook non-linkable? Or, to make it so that if someone clicks on the picture, it takes them back to the home page? :dunno

http://digitalfaerie.smugmug.com/gallery/1084161


It's all right here, Tanna

http://www.dgrin.com/showpost.php?p=209813&postcount=12

:wave

flyingdutchie
Jan-01-2006, 08:48 AM
Ok, I set up my guestbook like a lot of others on here by using a journal-styled gallery with one photo.

My question is this, and I've searched for this in the wonderful FAQ Mike has, and the forum, but cannot find this, so I apologize in advance.....

but is it possible to have that picture I have in my guestbook non-linkable? Or, to make it so that if someone clicks on the picture, it takes them back to the home page? :dunno

http://digitalfaerie.smugmug.com/gallery/1084161
Use the code to which andy is referring in his answer.

But if you want to go to your 'home' page when you click such a 'non-clickable' image:
1. change this line of the code:
link.href = "javascript:void(0);";
into
link.href = "/";

2. Don't add any CSS, because your images stay linked (but to your homepage instead).

Andy
Jan-01-2006, 08:49 AM
Use the code to which andy is referring in his answer.

But if you want to go to your 'home' page when you click such a 'non-clickable' image:
1. change this line of the code:
link.href = "javascript:void(0);";
into
link.href = "/";

2. Don't add any CSS, because your images stay linked (but to your homepage instead).

:bow Javascripter-man to the rescue :D

:wave Happy New Year, Anton!

flyingdutchie
Jan-01-2006, 08:54 AM
:bow Javascripter-man to the rescue :D

:wave Happy New Year, Anton!

Happy New Year to you too, Andy and everyone else reading this message!
Gelukkig Nieuw Jaar!

BTW: Anyone knows some CSS to get rid of a sore throat and a slight hangover?
I tried this already:

#anton .hangover {
display: none;
}
but it just does not work!! :scratch

Andy
Jan-01-2006, 08:56 AM
Happy New Year to you too, Andy and everyone else reading this message!
Gelukkig Nieuw Jaar!

BTW: Anyone knows some CSS to get rid of a sore throat and a slight hangover?
I tried this already:

#anton .hangover {
display: none;
}
but it just does not work!! :scratch

I think you may have to delete your temp files. Try re-booting :puke

:lol3 :lol3 :lol3

digital faerie
Jan-01-2006, 08:59 AM
kick butt you guys! Right now, I removed the linking for now, but have saved the code in case I change my mind, which I am apt to do. Thank you thank you!