Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
badjerzeeboy
New Member
New Member


Joined: Sep 30, 2006
Posts: 13

PostPosted: Wed Feb 07, 2007 1:28 pm Reply with quote

hi i need to put java scrip on the header but it got idea how to doit i create a manu with photoshop the menu work perfect alone but when i try to insert the java for the preload images the menu dont work how can i do this


java script to be inserted in the header Only registered users can see links on this board! Get registered or login!



the full html for the manu i can post it cuz the site sentinel dont let me
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Feb 07, 2007 3:58 pm Reply with quote

You can place your Javascript code in includes/javascript.php

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
badjerzeeboy
PostPosted: Sat Feb 10, 2007 8:10 am Reply with quote

I Just Add The Java Like It Is. oh i have to covert in php am dunno how o do it can you guime
 
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9455
Location: Arizona

PostPosted: Sat Feb 10, 2007 8:28 am Reply with quote

Just "wrap" each line like this:

echo "<<place your line of code here";

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
badjerzeeboy
PostPosted: Sat Feb 10, 2007 8:42 am Reply with quote

thanx man am gonna try it i will come back if i succes wit it
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6793
Location: Ha Noi, Viet Nam

PostPosted: Sat Feb 10, 2007 9:10 am Reply with quote

If you have problems with the mthod Montego described (though you shouldn't) you can try dropping out of php and then going back in again like this.

Code:
<?php


/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

if (stristr(htmlentities($_SERVER['PHP_SELF']), 'javascript.php')) {
    Header('Location: ../index.php');
    die();
}
//drop out of php
?>
your html java script code here
<?php
// now we have restarted php
##################################################
# Include for some common javascripts functions  #
##################################################
 
View user's profile Send private message Send e-mail
badjerzeeboy
PostPosted: Sat Feb 10, 2007 9:35 am Reply with quote

than you men now the i have this am gonna make my menu better so i can put something nice thanx you so much to take you time to help me
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©