StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-02-2009, 03:13 PM
snowwolf snowwolf is offline
Registered User
Genesis Member
 
Join Date: Jul 2009
Posts: 4
Default javascript

hello, am currently building my website for photography purpose am tring to use a java script as shown follow, i wonder if i can actually use it with the template i downloaded from studiopress. if so i would may ask where i could post this setting or if there will be another setting i can set would be great if i could get some help

<SCRIPT LANGUAGE="JavaScript">


http://javascript.internet.com -->

function right(e) {
var msg = "Copyright Notice: All images contained on this website remain the property of Joel Antunes. Images may not be downloaded, reproduced, copied, projected, or used in any way without express written permission.";
if (navigator.appName == 'Netscape' && e.which == 3) {
alert(msg);
return false;
}
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(msg);
return false;
}
else return true;
}

//document.body.addEventListener("contextmenu",killC lick, true);

function trap() {
if(document.images) {
for(i=0;i<document.images.length;i++) {
document.images[i].onmousedown = right;
document.images[i].onmouseup = right;
}
}

}

// End -->
 

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript officeto-go General Discussion 3 01-24-2011 06:12 PM
How do I add javascript? hotstreak General Discussion 1 12-22-2010 06:58 PM


All times are GMT -5. The time now is 03:41 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.