- Local time
- 8:32 PM
- Messages
- 488
Suggestion for SevenForums...
It would be nice if we could go back and forth in between forum pages using the left and right arrow keys...
This code works for IE and FF, I just tested it out today...
It would be nice if we could go back and forth in between forum pages using the left and right arrow keys...
Code:
<body onload="setuppage(event)">
.....
<script language="javascript" type="text/javascript" >
function gosomewhere(e)
{
var keynum;
keynum = e.keyCode;
if(keynum==37)
{
window.location = PrevPage.HRef;
}
if(keynum==39)
{
window.location = NextPage.HRef;
}
}
function setuppage(e){
if (document.addEventListener)
{
document.addEventListener('keyup', gosomewhere, false);
}
else if (document.attachEvent)
{
window.document.attachEvent('onkeyup', function(e) {gosomewhere(e);},false );
}
}
</script>
My Computer
- Computer Manufacturer/Model Number
- fakeasdf (c)
- OS
- Win 7 Pro x64 x 3, Win 7 Pro x86, Ubuntu 9.04
- CPU
- 2 x C2D [email protected] Ghz, C2D [email protected] ghz, P4 @ 3.0 ghz,
- Motherboard
- GIGABYTE GA-EP35-DS3P LGA 775 Intel P35 ATX Dynamic Energy S
- Memory
- 2x8 GB Corsair, 4GB Kingston, 2GB GSkill
- Graphics Card(s)
- ATI Radeon 4670 1 GB DDR3, 2600 Pro, 2400 Pro, Intel 965
- Sound Card
- I don't care... Connected using Optical on Media Center
- Monitor(s) Displays
- Panasonic Viera 50" Plasma, 2x 19"
- Screen Resolution
- 1080P, 1280x1024's
- Hard Drives
- 4 Terabytes
- Case
- Antec P182 Gun Metal Black
- Internet Speed
- 20 Mbit U/D