Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN organization
websites
Commits
3ca18825
Commit
3ca18825
authored
Mar 16, 2004
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore Javascript-based menu links for Javascript-enabled browsers
parent
a66ff7f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
trunk/www.videolan.org/include/header.php3
trunk/www.videolan.org/include/header.php3
+7
-6
No files found.
trunk/www.videolan.org/include/header.php3
View file @
3ca18825
...
...
@@ -70,17 +70,18 @@ function DrawMenu( $file, $mod )
else
{
echo
'<td class="button" onmouseout="this.className=\'button\'"'
.
' onmouseover="this.className=\'button-up\'"'
.
' onmousedown="this.className=\'button-down\'">'
;
' onMouseOver="this.className=\'button-up\'"'
.
' onMouseDown="this.className=\'button-down\'"'
.
' onClick="window.location=\''
.
htmlentities
(
$link
)
.
'\'; return true;">'
;
}
echo
'<table cellpadding="1" cellspacing="0" style="margin: 0px;">'
.
'<tr>'
;
if
(
$icon
!=
""
)
{
echo
"
<td><a href=
\"
$link
\"
>"
.
"<img
class=
\
"
button
\
"
src=
\
"
/images/menu/
$icon
\"
"
.
"
alt=
\
"
$name
\
"
width=
\
"
$width
\"
height=
\"
$height
\"
/>"
.
'</a></td>'
;
echo
'
<td><a href=
"'
.
htmlentities
(
$link
)
.
'"><img '
.
'
class="button" src="/images/menu/
'
.
htmlentities
(
$icon
)
.
'"'
.
'
alt="
'
.
htmlentities
(
$name
)
.
'
" width="
'
.
$width
.
'"'
.
'
height="'
.
$height
.
'" />
</a></td>'
;
}
echo
"<td class=
\"
button-text
\"
><a href=
\"
$link
\"
>
$text
</a></td>"
;
echo
'</tr></table></td>'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment