icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Coding and Programming » http://surpasshosting.com/serversnew.php

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old September 8th, 2005, 7:26 AM   #1 (permalink)
Marketing Maven
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,749 posts
Gave thanks: 946
Thanked 806 times
http://surpasshosting.com/serversnew.php

Anyone know how I can get all the content to contract by default, instead of being expanded?
http://surpasshosting.com/servers.php

I used this:
http://www.dynamicdrive.com/dynamici...chcontent2.htm

Which... says it expands by default but I am sure this can be haxored.


There is another script that *does* contract all the divs by default, but it doesn't work with Opera. The script I used works with IE, FF and Opera. That's the thing.

[ edit | fixed up link since you're too lazy lol | ancyru ]

Last edited by Ancyru; September 9th, 2005 at 5:34 AM..
Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 8th, 2005, 9:33 AM   #2 (permalink)
Surpass Fan
Super #1
 
Joined in Aug 2004
Hosted on SH58
1,688 posts
Gave thanks: 6
Thanked 7 times
Since you've got a 404 there, I'll take a stab in the dark. You have a bunch of <div>s that you want to be already expanded and when you click them it shrinks it? Instead of the other way 'round?

I don't know why that script wouldn't work. Can you link us/me?
__________________
- Evan Charlton | [site] | Server - SH58
Kickersny.com is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 8th, 2005, 10:12 AM   #3 (permalink)
Marketing Maven
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,749 posts
Gave thanks: 946
Thanked 806 times
Sorry, shortly after that was posted, it then became the active page for the dedicated servers.

http://www.surpasshosting.com/servers.php
Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 8th, 2005, 10:55 AM   #4 (permalink)
ceo
Senior Member
Super #1
 
Joined in Jan 2005
1,546 posts
Gave thanks: 70
Thanked 33 times
Wow, that's a lot of new servers.

Those prices make me feel so poor, though. *wibbless*
ceo is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 8th, 2005, 11:35 AM   #5 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,084 posts
Gave thanks: 48
Thanked 131 times
Kayla, why not just execute the minimize all function on window load? Unfortunately the code you used sucks... Check out the source here: http://haugland.ca/toggle/ for a mucho easier way to do it.

Also, you should move your functions to an external *.js file as they only download once per visit and therefore reduce bandwidth use and decrease load time.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 8th, 2005, 11:43 AM   #6 (permalink)
Skittles
Super #1
 
DewKnight's Avatar
 
Joined in Aug 2004
Lives in a space ship
Hosted on dedi
6,815 posts
Gave thanks: 101
Thanked 199 times
hey kayla:

Quote:
Intel Dual Xeon 2.8 Ghz 1MB Cache

Memory: 1024 MB DDR (1GB) ECC System Memory
Storage: Dual 120GB SATA Hard Drive
Transfer: 10mbps,25mbps,50mbps,100mbps
IP Addresses: 4 :: Private VLAN :: 100mbps
10 mbps Unmetered $205.00 Monthly
25 mbps Unmetered $195.00 Monthly
50 mbps Unmetered $75.00 Monthly
100 mbps Unmetered $75.00 Monthly

1000 mbps Unmetered $17020.00 Monthly
Select a monthly price that matches desired setup fee.
That's in the unmetered bandwidth servers...
__________________
Mountain Dew Knight
People should not be afraid of their governments. Governments should be afraid of their people.
DewKnight is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 8th, 2005, 5:37 PM   #7 (permalink)
Marketing Maven
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,749 posts
Gave thanks: 946
Thanked 806 times
Quote:
Originally Posted by Haugland
Kayla, why not just execute the minimize all function on window load? Unfortunately the code you used sucks... Check out the source here: http://haugland.ca/toggle/ for a mucho easier way to do it.

Also, you should move your functions to an external *.js file as they only download once per visit and therefore reduce bandwidth use and decrease load time.
Ooo, that one works in IE, FF and Opera?
Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 8th, 2005, 5:38 PM   #8 (permalink)
Marketing Maven
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,749 posts
Gave thanks: 946
Thanked 806 times
Quote:
Originally Posted by DewKnight
hey kayla:


That's in the unmetered bandwidth servers...
Thank you, Dew. <3
Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 8th, 2005, 5:43 PM   #9 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,084 posts
Gave thanks: 48
Thanked 131 times
Yep, it makes use of DOM (I think.. just getting back into JavaScript) which is currently supported by all the latest

I won't get into my standards talk though... but you should use JavaScript to hide them initially over CSS because of accessibility. If in the event it doesn't work in a given browser or JavaScript is disabled, it will degrade nicely. Let me know if you need implementation help.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On