logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 01-15-2010, 07:10 PM   #1
walkamongus
walkamongus's Avatar
 
Join Date: Aug 2008
Posts: 145
Default how to put a link in a fancybox title

Hi everybody, I seem to be stuck as to how to put a link inside a fancybox title, so that the caption beneath the image will display said link. Any help on this will be muy appreciated!
walkamongus is offline   Reply With Quote
Old 01-16-2010, 08:14 AM   #2
WotNow
WotNow's Avatar
 
Join Date: Mar 2009
Location: Broome Western Australia
Posts: 225
Default

Can you show us what you mean? Otherwise I guess you are asking how to style the link?
WotNow is offline   Reply With Quote
Old 01-16-2010, 08:53 AM   #3
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

Hi WotNow Go to the fancybox website and look at the demos. You'll see what he means. I looked but have no idea how it should be done.
Corrosive is offline   Reply With Quote
Old 01-16-2010, 09:07 AM   #4
walkamongus
walkamongus's Avatar
 
Join Date: Aug 2008
Posts: 145
Default

i think it is the same as adding a link in any link title attribute (guess). I have no idea as to how to go about it either. i want to do it for my site, so that people can preview a template as an image through fancybox, than choose to demo the template via the link. im lost on it though, if no one here knows i may just rethink my plan for it :/

Last edited by walkamongus; 01-16-2010 at 09:11 AM..
walkamongus is offline   Reply With Quote
Old 01-16-2010, 09:15 AM   #5
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

I take it you have tried just putting a regular href link in the title? Not that I'm expecting that to work mind you...but to cover all bases.
Corrosive is offline   Reply With Quote
Old 01-16-2010, 09:56 AM   #6
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

As far as can see then it should be possible, because Fancybox parses the title attribute as plain HTML. I did have a look into fancybox.js, but I'm not sure yet where to customize the function that puts the title attribute as a caption. Did you ask already at Fancybox Google Groups?
gentleone is offline   Reply With Quote
Old 01-16-2010, 04:38 PM   #7
walkamongus
walkamongus's Avatar
 
Join Date: Aug 2008
Posts: 145
Default

I've tried a regular href link, it seems to display it like regular text. I wasnt aware of the google group, thanks, Ill go post over there and update if i find anything.
walkamongus is offline   Reply With Quote
Old 01-20-2010, 11:19 PM   #8
walkamongus
walkamongus's Avatar
 
Join Date: Aug 2008
Posts: 145
Default

Ok, heres the solution if anyone is interested...

http://groups.google.com/group/fancy...721b51e6afac44
walkamongus is offline   Reply With Quote
Old 01-21-2010, 07:00 AM   #9
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

Nice one. Looks good. I'm not convinced that replacing the title with a link is technically 'good practice' but...oh well
Corrosive is offline   Reply With Quote
Reply


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


All times are GMT. The time now is 03:56 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com