Jump to content
The Uniform Server Community

Small hack to re-enable scrolling


Pont
 Share

Recommended Posts

I never liked the new manager interface which forced me to scroll the page with up/down buttons. It was slow and tedious. Now I have finally made a small change to re-enable ordinary scrolling via mousewheel.

 

In

 

\diskw\home\admin\www\index.php

 

<frameset cols="220,*" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0">
<frame src="navigation.php" name="navigation" scrolling="no" noresize="noresize" id="navigation" />
<frame src="start.php" name="content" scrolling="no" noresize="noresize" id="content" />

 

has been changed to

 

<frameset cols="230,*" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0">
<frame src="navigation.php" name="navigation" scrolling="yes" noresize="noresize" id="navigation" />
<frame src="start.php" name="content" scrolling="yes" noresize="noresize" id="content" />

 

In

 

\diskw\home\admin\www\navigation.php

 

comment out or remove the following

 

<div id="staticbuttons" style="position:absolute;">
<a href="java script:" onmouseover="myspeed=-thespeed" onmouseout="myspeed=0">
<img src="images/arrows_up.gif" alt="Scoll Up" /></a>
<a href="java script:" onmouseover="myspeed=thespeed" onmouseout="myspeed=0">
<img src="images/arrows_dn.gif" alt="Scoll Down" /></a>
</div>
<script type="text/javascript" src="js/scroller.js"></script>

 

And in

 

\diskw\home\admin\www\includes\footer.php

 

comment out or remove the following

 

<div id="staticbuttons" style="position:absolute;">
<a href="java script:" onmouseover="myspeed=-thespeed" onmouseout="myspeed=0">
<img src="images/arrows_up.gif" alt="Scoll Up" /></a>
<a href="java script:" onmouseover="myspeed=thespeed" onmouseout="myspeed=0">
<img src="images/arrows_dn.gif" alt="Scoll Down" /></a>
</div>
<script type="text/javascript" src="js/scroller.js"></script>

 

 

Hope this is useful for someone

 

Pont

Link to comment
Share on other sites

The post will help others thought I would add the following for completeness:

 

Consider changing these files:

 

/diskw/home/admin/www/phpinfo.php

/diskw/home/admin/www/vhost.php

/diskw/home/admin/www/cgi-bin/en/footer.pm

 

Again remove this section from the files:-

 

Scroll Up

Scroll Down

 

 

All the modified pages contain this line of JavaScript it is now redundant hence delete it as well.

 

<script type="text/javascript" src="js/scroller.js">

 

One final point if you do not like the link colours change them

Open this file: Uniform Server\diskw\home\admin\www\css\main.css

 

Locate the link tag and change it as shown to give blue links

 

a {

color:#0000FF;

text-decoration:none;

}

 

I am lazy and used a version created by pixelsoul even had the audacity to pop in on UniCenter check out the page http://center.uniformserver.com/us_33_cosm...s/apanel_1.html.

 

 

:rolleyes:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...