|
| |
|
|
artpics
Posts: 122 Joined: 12/20/2003 From: London UK Status: offline
|
java script in css - 7/10/2004 15:29:10
hello i have just read that you can put all the java scrips(right hand click disable) in the css file. do i just add the java script to the body part of the css where i have the coloured scroll bars or do i make up a different tag/ thankyou
|
|
|
|
artpics
Posts: 122 Joined: 12/20/2003 From: London UK Status: offline
|
RE: java script in css - 7/11/2004 0:43:07
thought you would like that dan lol or see the site in *site critiques* it is a right hand click script, which i want to call from a outside folder like u said *sun coming up in the UK* thanks RT
< Message edited by artpics -- 7/29/2004 13:25:01 >
|
|
|
|
Giomanach
Posts: 6113 Joined: 11/19/2003 From: England Status: offline
|
RE: java script in css - 7/11/2004 0:48:29
Oh yeah, your image rollovers can be done with CSS, and CSS layouts
_____________________________
|
|
|
|
artpics
Posts: 122 Joined: 12/20/2003 From: London UK Status: offline
|
RE: java script in css - 7/11/2004 0:53:18
<html> <head> </head> <body> <script src="xxx.js"> </script> </body> </html> this is what i found at school thanks this is what i am using at the moment pasted in the body tags <script language="JavaScript"> <!-- // No rightclick script. // Find more great scripts and applets at the JavaFile! // http://www.javafile.com // Do not delete this header! var message="All images text copyright- www.artpictures.tv!."; // Put your message for the alert box between the quotes. // Don't edit below! function click(e) { if (document.all) { if (event.button == 2) { alert(message); return false; } } if (document.layers) { if (e.which == 3) { alert(message); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; // --> </script>
|
|
|
|
artpics
Posts: 122 Joined: 12/20/2003 From: London UK Status: offline
|
RE: java script in css - 7/11/2004 1:03:55
html css -no database etc not a problem it is just that i put the coloured scroller bar in the css to clean the page up would like to do this with this java script thanks dan i have seen the .js scrips when i use page transitions in fp , i spose these are different hence the.js ext okay i see the .js extension on my counter which goes to a website with my account no 112333747575??.js so at least i learnt some thing thanks again
< Message edited by artpics -- 7/11/2004 1:13:47 >
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|