|
|
|
|
|
|
![]() |
#1 |
They have the Internet on computers, now?
|
![]() So i was playing with dreamweaver and found this function to change pics on mouse roll over ( ok i know i'm newbie
![]() the site looks much better with this function. but it inserts scipt on FS. So i did removed it when i was submiting this FS to link lists. My question is: can i use this function on FS or not, and how many Link lists would decline me? Is it ok to use this kind of script on FS? http://www.pornomagix.com/freesites/...sha/index.html Scipt: <<<<<<script type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script>>>>|confused| P.S. mouse roll over is on enter link ![]() |
![]() |
![]() |
![]() |
#2 |
Certified Nice Person
|
Which part of "no Java" do you not understand? Is it the "no" or the "Java" that is causing the confusion?
Add all of the gimmicky shit to your hubs and leave your free sites alone. BTW, search Google for "java rollover" and you'll find much lighter scripts that will do the same thing. Just don't put it on your free sites.
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
#3 |
They have the Internet on computers, now?
|
oki doky
![]() ![]() |
![]() |
![]() |
![]() |
#4 |
My wife is not a doobie to be passed around! On our wedding day I promised to bogart her for life!
Join Date: Jul 2004
Posts: 275
|
In my opinion link lists should at least allow java code from counters like Google analytics, there's no risk.
Or allow java for trusted submitters. |
![]() |
![]() |
![]() |
#5 |
Madness is like gravity. All it takes is a little... push.
Join Date: Feb 2006
Location: California
Posts: 1,679
|
Some places allow java for certain things, like honest onmousovers, but image rollovers are generally a no no.
Personally, in no way do I consider using scripts called from a third party a no risk. It's a calculated risk at best. ![]()
__________________
~Warm and Fuzzy. ![]() |
![]() |
![]() |
![]() |
#6 |
My wife is not a doobie to be passed around! On our wedding day I promised to bogart her for life!
Join Date: Jul 2004
Posts: 275
|
Yeah sure but the risk of getting your server hijacked is higher than Google fucking up.
|
![]() |
![]() |
![]() |
#7 |
Progress rarely comes in buckets, it normally comes in teaspoons
Join Date: Jun 2005
Location: Dark Side Of Naboo
Posts: 1,289
|
You can do rollovers with css
![]() |
![]() |
![]() |
![]() |
#8 | |
Madness is like gravity. All it takes is a little... push.
Join Date: Feb 2006
Location: California
Posts: 1,679
|
Quote:
![]() And anyway, I can only imagine the arguments that would follow being lax on that issue. Making it explicitly clear that only one company's java tracking system, and no other is allowed seems like a perfect way to add many hours of time to any reviewer's schedule. ![]() What would you use a third party counter system do for you anyway, but serve as a traffic leak? A check of simple server stats every so often gives me all the info I need. ![]()
__________________
~Warm and Fuzzy. ![]() |
|
![]() |
![]() |
![]() |
#9 |
Well you know boys, a nuclear reactor is a lot like women. You just have to read the manual and press the right button
|
Just for the record guys, it's JavaScript you are talking here. It executes on the client computer (Java is a server scripting language and executes on the server).
__________________
My Asian Kitty - My Free Sites |
![]() |
![]() |
![]() |
#10 |
They have the Internet on computers, now?
|
![]() Hi, I'v allready asked in other tread but have no response:
What about some home made php counter into a image like this <"img src=some_img.php>"?, can it pass the no scripts or counters rule? It has no client execution and can give very acurate and custom stats. |
![]() |
![]() |
![]() |
#11 |
Certified Nice Person
|
Shut up.
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
#12 | |
Certified Nice Person
|
Quote:
__________________
Click here to purchase a bridge I'm selling. |
|
![]() |
![]() |
![]() |
#13 | |
Heh Heh Heh! Lisa! Vampires are make believe, just like elves and gremlins and eskimos!
Join Date: Jan 2006
Posts: 72
|
Quote:
![]() And Bishop, I think as long as you keep it really lightweight, and don't allow your functions to echo back errors ( @function() ) you should be ok. |
|
![]() |
![]() |
![]() |
#14 |
Well you know boys, a nuclear reactor is a lot like women. You just have to read the manual and press the right button
|
QuickDraw, thanks for correcting my post! Yes I was reffering to JSP (or Java Server Pages there).
About the JavaScript in the free sites, I don't see its use. If you want to make rollovers, CSS can be used as Maj. Stress said before. @BishopWeber : I was thinking to make some kind of counter like that, too. That was happening when I used sponsor hosting and didn't had any stats from the web server. But I have paid hosting now with all the stats I want, and there is no need for "tricks" ![]()
__________________
My Asian Kitty - My Free Sites Last edited by kitty_kate; 2006-08-20 at 07:06 PM.. Reason: typo |
![]() |
![]() |
![]() |
|
|