Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
User submitted BBCodes
Let us see what You have There is no support here! Only Read Access!
Forum rules
We dont add more BBCodes to our database, but feel free to share and support your own BBCodes here.
Remember that it is not allowed to use {TEXT} inside the html tags!!!
It causes a serious security risk to your board and users.
Like this: <div style="{TEXT}">{TEXT}</div>
Green = OK - Red = forbidden
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="ddpowerzoomer.js">
/***********************************************
* Image Power Zoomer- (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">
jQuery(document).ready(function($){ //fire on DOM ready
$('img#gallerya').addpowerzoom({magnifiersize:[100,100]})
$('img.gallery').addpowerzoom({powerrange:[2,5]})
})
</script>
<img id="gallerya" border="0" src="{URL}" style="width:{NUMBER1}px; height:{NUMBER2}px" />
Unfortunately I cannot get it work at my board.
The image is well displayed but no zoom effect.
The js-file is in the root folder.
Tested with FF3.6.2 and IE8.
Oh sorry, I forgot to mention. Your Demo works well.
EDIT:
I can imagine that it is a problem with the ddpowerzoomer.js file.
When I download that, I get a ddpowerzoomer.js.htm with the following content:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /dynamicindex4/ddpowerzoomer.js
on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
I renamed it to ddpowerzoomer.js but that has no effect.
The structure is root/ddpowerzoomer.js. Is that correct ?
Last edited by Chalong on 26 Mar 2010, 20:30, edited 6 times in total.
The file I downloaded here was not working, whyever.
File here downloaded size: ~350 bytes.
There downloaded about ~5500 bytes.
So I downloaded the ddpowerzoomer.js directly at http://www.dynamicdrive.com/dynamicinde ... zoomer.htm (about in the middle of the page) and I can zoom pretty comforatble.
Last edited by Chalong on 26 Mar 2010, 21:45, edited 1 time in total.