Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 01-27-2011, 12:46 PM Jquery image magnify
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
Hi all,

I'm a JS noob and have been trying to get the image magnify plugin working on a site but for some reason it aint working, I followed the instructions on synamic drive, I have the following.

Code:
<script type="text/javascript" src="JS/jquery.min.js"></script>
<script type="text/javascript" src="JS/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="jquery.magnifier.js">
/***********************************************
* jQuery Image Magnify- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
$ (document) .ready(function() {
 $('.slideshow') .cycle({
    fx: 'fade'
 });
});
</script>
In the body I have

Code:
    <img src="images/Directions-Map.gif" class="magnify" height="150" width="100" />
Please ignor the jquery cycle code, that works fine, but I am a noob, so any suggestions will be helpful, I am obviously missing something?

Thanks in advance for any assitance

Carl.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
 
Register now for full access!
Old 01-28-2011, 11:51 AM Re: Jquery image magnify
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
I know its a real noob question but does anyone know why its not working? All the links are correct but it just doesn't work
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Old 01-28-2011, 05:20 PM Re: Jquery image magnify
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
Is the script src pointing to the right location (I see it's different than the other two)?

This is opened ended, and without being the script author of the magnifier, it's impossible to know without knowing the code.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 01-28-2011, 07:51 PM Re: Jquery image magnify
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
thanks for the reply.

I corrected the url yesterday and it seems to be working, kind of, the curser is supposed to change to a magnifying glass but it doesn't, url's etc are all correct now.

I'll keep at it, just running through a load of tutorials, think I might end up using something else for what I want it to do cos it seems to only work the once and then you have to re-load the page

Thanks again.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Reply     « Reply to Jquery image magnify
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.36022 seconds with 12 queries