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 -> phpnuke 7.8
Author Message
shmk
Worker
Worker



Joined: Dec 21, 2004
Posts: 116

PostPosted: Sun Jul 31, 2005 11:44 am Reply with quote

How it function the custom_files folder in include ?

I tried to insert this code
Code:
<?php


// PopUp Script
echo"<sc ript language=\"javascript\">
function popup(url,name,h,w,resize){
   leftpos = (screen.width) ? (screen.width-w)/2 : 0;
   toppos = (screen.height) ? (screen.height-h)/2 : 0;
   newwindow = window.open(url, name, 'height='+h+', width='+w+', top='+toppos+', left='+leftpos+', resizable='+resize+', statusbar=no')
}
</sc ript>";
// End of PopUp

?>


In a file called custom_header.php but in all my site the javascript function "popup" is not enabled.
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Sun Jul 31, 2005 12:46 pm Reply with quote

Javascript parts usualy are put into the javascript.php file...
 
View user's profile Send private message
shmk







PostPosted: Sun Jul 31, 2005 2:40 pm Reply with quote

In javascript.php functions but I'm preferring to insert in one of the custom_files ... is it possible ?
 
hitwalker







PostPosted: Sun Jul 31, 2005 2:43 pm Reply with quote

Well it could but for one thing it wont work and for the other thing it will.
Depends on the script to use.
However...,recommended is to use javascript.php
 
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 -> phpnuke 7.8

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 ©