We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Invisionfree Forum Locator
Topic Started: Feb 20 2005, 07:20 AM (3,291 Views)
limguohong91
Guo Hong
[ *  *  * ]
webworldx
February 20, 2005 08:52 AM
I don't think the half a second difference really matters that much now does it???!!!

hehe it makes a diffence when he says IE faster than FF when my FF is faster than IE :yes:

anyway good code
Offline Profile Quote Post Goto Top
 
James
Live to Dream
[ *  *  *  *  *  *  * ]
Still, you're only going to be ever running the script once right (to find out what you're board is)?

It will depend on the speed of your connection, the server load and the rendering engine. But meh... 7 seconds really isn't that much to wait to find your board :D
Offline Profile Quote Post Goto Top
 
kingy
1 in 10 people understands binary, the other 1 doesn't
[ *  *  *  *  *  * ]
true...but i thought initially it was because of my code...now i realise its trying to load 8 sites at the same time that does it,lol
Offline Profile Quote Post Goto Top
 
James
Live to Dream
[ *  *  *  *  *  *  * ]
Oh... and why not write the iframes to the page on the first load, but style.display="none" them. Then when you click the form button (which you could use a link instead to stop this form POST problem) it'll show the iframes and load the content into them.
Offline Profile Quote Post Goto Top
 
limguohong91
Guo Hong
[ *  *  * ]
webworldx
February 20, 2005 08:55 AM
Still, you're only going to be ever running the script once right (to find out what you're board is)?

It will depend on the speed of your connection, the server load and the rendering engine. But meh... 7 seconds really isn't that much to wait to find your board :D

hea it is 0.7 seconds :yes:

okay good code and it will be good if invision make this official :yes:

Ask Seth about it :yes: (when it has no bugs)
Offline Profile Quote Post Goto Top
 
kingy
1 in 10 people understands binary, the other 1 doesn't
[ *  *  *  *  *  * ]
Quote:
 
but style.display="none"


i am sorry but i don't know how to do that. could you explain or provide a resource i could use?
Offline Profile Quote Post Goto Top
 
mathiaus
Member Avatar
mathiaus maximus™
[ *  *  *  *  *  * ]
no pop up in IE for me

how about only show iframes for those forums which actually have a forum on them? and you could let peiople put spaces in but replace any spaces with an underscore
Offline Profile Quote Post Goto Top
 
kingy
1 in 10 people understands binary, the other 1 doesn't
[ *  *  *  *  *  * ]
how could i only show them if there is content though? i looked into that but it isn't a generic 404 that they link to, so i don't know how the script could detect it
Offline Profile Quote Post Goto Top
 
The Legendary Sam
Feck j00, mate!
[ *  *  * ]
Man. I hate JavaScript. I have 56k, and to make it worse I use the AOL browser. Talk about the WORST combination ever.
Offline Profile Quote Post Goto Top
 
Das
Member Avatar
Smells of rich mahogany
[ *  *  *  *  *  *  * ]
Nice works smoth on my system
Offline Profile Quote Post Goto Top
 
Cloudfromffvii
Member
[ * ]
WOW Thanks i lost my games site and now i have found it snip - no advertising please.
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
lol, try finding a board called if with it.
(all but 1&9 say i'm not autherised to go there)

maybe you can improve it in such a way that, when you mistype, it will give you a 'sx.invisionfree.com/abcd not found, did you mean sx.invisionfree.com/abce?'
(if sx.invisionfree.com/abce does exist offcourse)

i think this would be a lot of work, but would be really cool.


edit; :$ typo's
Offline Profile Quote Post Goto Top
 
kingy
1 in 10 people understands binary, the other 1 doesn't
[ *  *  *  *  *  * ]
i will make it replace _'s automatically, as for suggesting alternet spellings, i am not even sure that is possible within javascript

might work with php tho (i will look into it)
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
i meant something like at google, if you search for windos it wil say at the top 'Did you mean "windows"? '

(dunno what code they use for it)

so it can be done ^_^

Code:
 
<?php
$url = 'the url they input';  
$pattern = '% %';  
$replace = '_';
$bla = preg_replace($pattern, $replace, $text); ?>


replace code for php.

(don't know if you need it, but hey, was working with it anyway, so why not post it)
Offline Profile Quote Post Goto Top
 
kingy
1 in 10 people understands binary, the other 1 doesn't
[ *  *  *  *  *  * ]
i know how to replace, but how would i get it to request anagrams?
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Technology Chat · Next Topic »
Add Reply