Support Forums

Fancy Box, Anyone Able To Use It?

This is a discussion on Fancy Box, Anyone Able To Use It? within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Hi, I am trying to use Fancybox | Fancy lightbox alternative i want to use the inline and iframe portion ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 09-24-2009, 08:47 AM   #1
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default Fancy Box, Anyone Able To Use It?

Hi,
I am trying to use Fancybox | Fancy lightbox alternative i want to use the inline and iframe portion of it. I can normally setup galleries and things like this without an issuse but cant for the life of me get this working.
The instrcutiosn for this are incredably poor for this as well.
Has anyone got a copy of this setup and working?

Cheers,
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 09-24-2009, 09:09 AM   #2
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default

this is the code i am trying to use, all links to files are valid.
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


<
head>
<
script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.fancybox.js"></script>
<link rel="stylesheet" href="js/jquery.fancybox.css" type="text/css" media="screen">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Fancy Box</title>
</head>

<body>
<a href="http://www.google.com.au">This goes to iframe</a>
<a id="single_image" href="image_big.jpg"><img src="image_small.jpg" alt=""/></a>
</body>

</html> 
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 10-01-2009, 07:24 PM   #3
Junior Member
 
Join Date: Sep 2009
Location: Orlando, FL
Posts: 28
Rep Power: 8
bollskis is on a distinguished road
Default

are you running the jquery call $('#single_image').fancybox(); ?
bollskis is offline   Reply With Quote
Old 10-01-2009, 07:47 PM   #4
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Nick,

First, what exactly ISN"T working? Second, I know you said all links to files are correct but are both your big and small images actually in the root of the site? Where is this file located itself?
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 10-01-2009, 08:06 PM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Its a long shot. Is your DOC type correct. It is not the same as given in the example they provide.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone fancy doing an our or so's work? (Paid) sitewonders Templates, HTML, CSS, and Design Help 2 07-17-2009 12:08 PM


All times are GMT -4. The time now is 04:09 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0