![]() |
You're doing it all wrong:
"<a href=\"register.php?s=$session[sessionhash]&action=signup\">". "<a onmouseover=\"changeImages('image2', 'image2a')\" onmouseout=\"changeImages('image2', 'image2b')\" ". "img name=\"image2\" ". That's not valid HTML _whatsoever_ :) Make it: "<a href=\"register.php?s=$session[sessionhash]&action=signup\">". "<img onmouseover=\"changeImages('image2', 'image2a')\" onmouseout=\"changeImages('image2', 'image2b')\" ". " name=\"image2\" ". |
thanks :) that worked...
|
kurafire, k i thought it works, but i notice a strange behaviour problem... when i refresh the page it loads all my nav buttons up except for the usercp/registration one... it leaves an X there instead... the only way it shows up is if i hover my mouse over it... any ideas? but its rare that it loads up completely... any ideas?
|
anyone? the rollover button or image will bot load up unless the user hovers his mouse over it, any ideas how to fix this? please this is really annoying me... arghhh... it works but only if i put the mouse pointer over where the x is... help me plz... here's what i have...
PHP Code:
|
*sighs*
212rikanmofo, please learn the basics of HTML before you go hack up your site, next time you have a problem. <img> tags need an src= attribute. You didn't put one in... |
And, for <img> tag's to be XHTML1.0 complient, they also need an alt="" and a trailing slash.
Ex: <img src="URL" height="" width="" alt="" /> |
I get...
Parse error: parse error, unexpected T_VARIABLE in /home/vbhost/public_html/forum/global.php on line 345 Fatal error: Call to undefined function: getpermissions() in /home/vbhost/public_html/forum/index.php on line 10 |
Quote:
so i do this? PHP Code:
|
Quote:
|
//########################## button change in nav #######################
if($bbuserinfo['userid'] != 0) { $regcp = "<a href=\"register.php?s=$session[sessionhash]&action=signup\">Register</a>"; } else { $regcp = "<a href=\"usercp.php?s=$session[sessionhash]\">Control Panel</a>"; } if ($bbuserinfo['usergroupid']==6) { $vadminbutton = "<a href=\"/admin/index.php?s=$session[sessionhash]\" target=\"_blank\">Admin Panel</a>"; } if ($bbuserinfo['usergroupid']==5) { $vmodbutton = "<a href=\"/mod/index.php?s=$session[sessionhash]\" target=\"_blank\">Mod Panel</a>"; } if ($bbuserinfo['usergroupid']==7) { $vmodbutton = "<a href=\"/mod/index.php?s=$session[sessionhash]\" target=\"_blank\">Mod Panel</a>"; } and it kicks back.... Parse error: parse error, unexpected T_VARIABLE in /home/sports/public_html/global.php on line 292 Fatal error: Call to undefined function: getpermissions() in /home/sports/public_html/index.php on line 14 |
All times are GMT. The time now is 10:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|