PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
badjerzeeboy
New Member
New Member


Joined: Sep 30, 2006
Posts: 13

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

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 to the forums!




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 to the forums!
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 Back to top

You can place your Javascript code in includes/javascript.php
View user's profile Send private message Visit poster's website
badjerzeeboy
New Member
New Member


Joined: Sep 30, 2006
Posts: 13

PostPosted: Sat Feb 10, 2007 8:10 am Reply with quote Back to top

I Just Add The Java Like It Is. oh i have to covert in php am dunno how o do it can you guime
View user's profile Send private message
montego
Site Admin


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

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

Just "wrap" each line like this:

echo "<<place your line of code here";
View user's profile Send private message Visit poster's website
badjerzeeboy
New Member
New Member


Joined: Sep 30, 2006
Posts: 13

PostPosted: Sat Feb 10, 2007 8:42 am Reply with quote Back to top

thanx man am gonna try it i will come back if i succes wit it
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

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 Visit poster's website
badjerzeeboy
New Member
New Member


Joined: Sep 30, 2006
Posts: 13

PostPosted: Sat Feb 10, 2007 9:35 am Reply with quote Back to top

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
View user's profile Send private message
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum