|
uCoz Community Archives Locked "the animated window that pops up when clicking a image" (How do I edit it?) |
"the animated window that pops up when clicking a image" |
Ok, I'm not sure what it is called but I can give you a picture example:
(ok aparently idk how to add an image to this simple enough forum, so here is the link lol http://puu.sh/13Bk ) As you can see, once in a category, you get a bunch of picture as everyone probably knows. They are small, thumbnail size. When you click one, a animation comes up and shows the picture in a bigger size. MY QUESTION: where can I find the templet to this animated window that pops up. I'm not some "nooby" but I can't seem to find it. Is this a templet you can't edit? Thank you. Post edited by Lt99range - Saturday, 2011-02-26, 1:58 AM
|
Look at the following thread, http://forum.ucoz.com/forum/36-8296-1
|
nonsense poopy pants!
There is away you can do this two ways infact and here they are Simply insert the below anywhere inside the <body> section of your page. Change the target URL to your own: Code <script> <!-- var winheight=100 var winsize=100 var x=5 function openwindow(thelocation){ temploc=thelocation if (!(window.resizeTo&&document.all)&&!(window.resizeTo&&document.getElementById)){ window.open(thelocation) return } win2=window.open("","","scrollbars") win2.moveTo(0,0) win2.resizeTo(100,1 00) go2() } function go2(){ if (winheight>=screen.availHeight-3) x=0 win2.resizeBy(5,x) winheight+=5 winsize+=5 if (winsize>=screen.width-5){ win2.location=temploc winheight=100 winsize=100 x=5 return } setTimeout("go2()",50) } //--> </script> <p><a href="javascript:openwindow('http://www.epal.ucoz.com)">Open window</a> <p><a href="javascript:openwindow('http://www.epal.ucoz.com')">Open window</a> The other way you can do this is:
Code <SCRIPT language=JavaScript> <!-- Begin function expandingWindow(website) { var windowprops='width=100,height=100,scrollbars=yes,status=yes,resizable=yes' var heightspeed = 2; // vertical scrolling speed (higher = slower) var widthspeed = 7; // horizontal scrolling speed (higher = slower) var leftdist = 10; // distance to left edge of window var topdist = 10; // distance to top edge of window if (window.resizeTo&&navigator.userAgent.indexOf("Opera")==-1) { var winwidth = window.screen.availWidth - leftdist; var winheight = window.screen.availHeight - topdist; var sizer = window.open("","","left=" + leftdist + ",top=" + topdist +","+ windowprops); for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed) sizer.resizeTo("1", sizeheight); for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed) sizer.resizeTo(sizewidth, sizeheight); sizer.location = website; } else window.open(website,'mywindow'); } // End --> </SCRIPT> Enjoy! |
Lt99range,
Quote (Lt99range) They are small, thumbnail size. When you click one, a animation comes up and shows the picture in a bigger size. it can be done, but it involves a lot of custom coding. We do not provide help with such thinngs. That is why I will move it to Users Communication |
| |||
| |||