Discussion in 'Communications' started by Lobot_Omy, Aug 8, 2001.
Yep, I've noticed.
Well, I finally decided to let you guys see it!
Click HERE for the SPEEDO pic!
Edit: tried something else but it didn't work!
Darth Gleng, you can use ' instead of \", so that way you can save character space.
I was trying to squeeze some DHTML into one line but it was doomed to failure from the start!
As for my scripts, well they're hardly useful but here's the ones I've used so far anyway
To do the multiple alert box thing from my post above, you simply separate the alert() commands with semicolons, like so:
My prompt from the last page, uses a variable (created with var) to store whatever is typed into the prompt() box, in this script I have called my variable stuff.
The script goes something like this:
var stuff = prompt("Type something!");
Where I have typed "Type something!" just tells the initial prompt box to display the question.
This unfortunately has to be squished down into one line, again separating with the semicolon, eg:
Remember to always substitute the spaces for the the space character code (%20 or whichever you use) so it'll end up looking like this:
There ya go!
Actually now I've thought about it:
would have been easier!
You don't have to put var in order to create a variable you can just state the name and assign the value to it. It makes it shorter. If you put %20 instead of spaces then it will only work in IE, not Netscape, but I don't know how many people here actually use Netscape.
Thanks for sharing the codes.
I wonder what time it is??
Hehehe...here's the script!
Of course, remembering your favourite space substitute!
It's probably not necessary to post the code. If you place your cursor over the link, the code appears at the left end of the status bar at the bottom of the window. I always look there before clicking on a link.
It is necessary if we want to cut and paste.
You need to add the space substitutes between 'is' and 'getting' and between 'really' and 'complicated'.
Now get rid of that last semicolon.
Don't worry, you'll get there!
Gandolf, sorry, didn't think of that.
When in doubt, ask a moderator. All of the examples shown on this thread so far are, IMO, perfectly acceptable. Using them could be a lot of fun, something to do when it gets kinda slow around here.
Also, remember that this kind of thing is best if it isn't over-used.
Even this can get if used too much.
(click the face)
OK, how do you get the smilies to work in the link?
As long as they're not offensive and they don't kill the board in any way, I can't see there being a problem
Yeah, as long as they don't mess up browsers or do any other funny things they should be fine, in my opinion.
For my link above with splitting responces.
Without the spaces of course.
Hmmm, I wonder if this should be posted in Info Threads? It seems to me that it might be useful, but we'll need to tidy this up first.
Scrolling to the location of page that the user wants to go to:
Example: Go To
Message before leaving the page:
Edit: Or better yet...
Ask if user really wants to leave the page before leaving:
I just used this in another thread. Linking to a directory on the users machine.
Enter the path to a directory as the link and it will open in the browser window. Not much use, but handy if you're trying to give tech support via the message board
Here's your C:\ drive!
Security Flaw of Windows, eh
Linking to another page:
I cant get a pic to show! I have tried the HTML but i cant get it to work.
What pic are you talking about?
well i assume you mean you used ezcodes where you put the tags in like this:
(but adding a "]" on the end, i left it out to display the coding)
HTML does not work on these forums so this would not work:
and of course certain servers like angelfire and geocites won't display the images no matter what cause they're stoopid
hope i've cleared this up for ya