Gradual-Highlight

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Gradual-Highlight
0pticalviper
CZ Newbie
0pticalviper has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Aug 02, 2004
0.00 posts per day
Posts: 21
Points: 1,454
   
I've tried all i know to ge this Gradual-Highlight Image Script to work. It looks real nice on this site and some others that i saw. Mainly i just need to know where do you put the script exactly at, especially step 1. I give up.



Back to top Reply with quote
#2   re: Gradual-Highlight
Tuffy
CZ Addict
 Codezwiz Site Donator
Tuffy has been a member for over 20 year's 20 Year Member
usa.gif newyork.gif
Occupation: Wedding Photographer
Age: 59
Gender: Female
Fav. Sports Team: NY Mets
Website:
Status: Offline
Joined: Nov 20, 2003
0.09 posts per day
Posts: 724
Points: 127,871
AIM Address Yahoo Messenger  
icon_eek.gif Okay Viper - where is this script? Did you find it here on this site or somewhere else?

Help us to help you! Please?!



Back to top Reply with quote
#3   re: Gradual-Highlight
0pticalviper
CZ Newbie
0pticalviper has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Aug 02, 2004
0.00 posts per day
Posts: 21
Points: 1,454
   
yea sure this is the one.
[ Register or login to view links on this board. ]

thanx



Back to top Reply with quote
#4   re: Gradual-Highlight
Tuffy
CZ Addict
 Codezwiz Site Donator
Tuffy has been a member for over 20 year's 20 Year Member
usa.gif newyork.gif
Occupation: Wedding Photographer
Age: 59
Gender: Female
Fav. Sports Team: NY Mets
Website:
Status: Offline
Joined: Nov 20, 2003
0.09 posts per day
Posts: 724
Points: 127,871
AIM Address Yahoo Messenger  
Thanks for the link to the script.

Where/What website are you planning to use this script at? I only ask as if this will be used on a MyLeague site for the "main" page, you will have to iframe it in. Please leave a link to the page where you were hoping to use this script in.

Thanks!



Back to top Reply with quote
#5   re: Gradual-Highlight
0pticalviper
CZ Newbie
0pticalviper has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Aug 02, 2004
0.00 posts per day
Posts: 21
Points: 1,454
   
[ Register or login to view links on this board. ]

coo, thanx for the help so far.



Back to top Reply with quote
#6   re: Gradual-Highlight for PHP-Nuke Site
Tuffy
CZ Addict
 Codezwiz Site Donator
Tuffy has been a member for over 20 year's 20 Year Member
usa.gif newyork.gif
Occupation: Wedding Photographer
Age: 59
Gender: Female
Fav. Sports Team: NY Mets
Website:
Status: Offline
Joined: Nov 20, 2003
0.09 posts per day
Posts: 724
Points: 127,871
AIM Address Yahoo Messenger  
icon_eek.gif LOL - I haven't really done much for you so far. But since the site you are running is PHP-Nuke, what little I've done ends here. I am not all that familiar with nuke but there are peeps here that are.

I think that the script has to be put in a block - or something like that. I retitled your post to get the super nukers over here to help you! Let's just hope it grabs their attention!

Best of Luck to you!



Back to top Reply with quote
#7   re: Gradual-Highlight
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
try adding it to your header.php or if your theme has the includes/javascript file then on step #2...you have to add that code to EVERY image you have on your site that you want highlighted



Back to top Reply with quote
#8   re: Gradual-Highlight
0pticalviper
CZ Newbie
0pticalviper has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Aug 02, 2004
0.00 posts per day
Posts: 21
Points: 1,454
   
hmm i keep getting a parse error anywhere i put it. Im not sure what that means.

Parse error: parse error, unexpected '<' in /home/assassin/public_html/main/includes/javascript.php on line 38

I tride the header.php too a couple times.



Back to top Reply with quote
#9   re: Gradual-Highlight
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.49 posts per day
Posts: 3765
Points: 351,412
   
Check your code on javascript.php. Looks like you have an extra "<" in line 38.

If you can't find it, paste the code here with about 10 lines above it and 10 after it and I'll see if I can find it.



Back to top Reply with quote
#10   re: Gradual-Highlight
0pticalviper
CZ Newbie
0pticalviper has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Aug 02, 2004
0.00 posts per day
Posts: 21
Points: 1,454
   
Well i took out the only < on that line and now it says Parse error: parse error, unexpected T_STRING in /home/assassin/public_html/main/includes/javascript.php on line 38

* Please post all questions/request about this port on [ Register or login to view links on this board. ] first,
* then on my site. All original header code and copyright messages will be maintained
* to give credit where credit is due. If you modify this, the only requirement is
* that you also maintain all original copyright messages. All my work is released
* under the GNU GENERAL PUBLIC LICENSE. Please see the README for more information.
*
***************************************************************************/

if (eregi("javascript.php",$_SERVER['PHP_SELF'])) {
Header("Location: ../index.php");
die();
}

<script language="JavaScript1.2"> (this is line 3icon_cool.gif

//Gradual-Highlight image script- By Dynamic Drive
//For full source code and more DHTML scripts, visit [ Register or login to view links on this board. ]
//This credit MUST stay intact for use

function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.3
else if (which2.filters)
which2.filters.alpha.opacity=30
}

function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum