Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Design

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 25-05-2005, 10:58 PM
masterryzz's Avatar
Novice Webmaster
 
Join Date: Feb 2005
Location: SABAH
Posts: 19
Rep Power: 0
masterryzz is on a distinguished road
Wink Let's Discuss!

Hi to all of you!

Let's discuss this, okay?

I know you know what JavaScript is, don't you?
If you own a website - free or paid, I believe that there must be at least one JavaScript, <script...> </script> on your web pages, right?...

Now, let's have a talk about these two JavaScript scripts:-

<SCRIPT TYPE="text/javascript">
<!--
function AlertMe()
{
alert('OK Then!\r\rYou want a neat box like \"this\" one?\r\rWell!\r\rYou\'ll need:\rBrains\tBeauty\t\tTalent\rMoney\tDog food\t\tLuck\rA Cat\tEye of Newt\tA Shrubbery!\r\rAnd the ability to \'read\' this tutorial.\r\rOK?')
}
// -->
</SCRIPT>

<center><form>
<input type="button" value="Click Me!" onClick="AlertMe()" />
</form></center>

You know the rules( I assumed you're ) - JavaScript is CASE-SENSITIVE, so make sure alert('TEXT HERE AS ABOVE') is in ONE LINE, okay?

So, save it as [whatever.htm/html] file and open it in Internet Explorer and Mozilla Firefox.
Can you see the difference?...

I've read from a source that I don't remember anymore... that "there was no one script that worked in both Netscape and Internet Explorer".
So, I think that's true because some JavaScript Script ( just like the above ), and the "Event Handler", such as:-

<p align="center"><A HREF="http://www.webmastermalaysia.com/" onMouseOver="window.status='Go to the WebMasterMalaysia.com Page';return true">Click Here</A></p>

... won't work in Mozilla-based[GECKHO ENGINE] Web Browser such as Mozilla itself, FireFox, and [ Netscape ] - I guess:-)), and it shouldn't anyway...

Don't get my point?...
No problem!
Just add it to your previous file( above ), and open it both in IE and Firefox.
I bet you won't see anything on your window's status bar if you open it in Firefox!...
Why?... because I've seen some, if not ALL of that "window.status" wouldn't work with Firefox.
So, think twice before you tend to trick people with that way, ok...?^_*!

I don't know why should there be that difference in IE and Netscape JavaScript application, and that's why I write this LonG LonG message...:-)
Does anyone there know the reason... or reasons...?^_^!
Happy thinking!
P/S:- This isn't an advice, but more to my point of view only - If you want to see whether your Web Pages work well on MOST Browsers, you should consider previewing them both in IE and Netscape. I love Firefox, so I myself test my Web Pages with Firefox! --> Isn't Firefox a Great Browser?;-D

Last edited by masterryzz; 25-05-2005 at 11:46 PM. Reason: OOPSS!! - CORRECTION
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 26-05-2005, 02:03 AM
mysticmind's Avatar
Super Moderator
 
Join Date: Jun 2001
Location: Mystic Kingdoms
Posts: 2,619
Rep Power: 141
mysticmind will become famous soon enough mysticmind will become famous soon enough
Send a message via Yahoo to mysticmind
i think.. nowaday... nobody want to use Netscape anymore lah..
so old and s*cks laaa..

nad i also think that 'alert box' javascript is a newbiew 'loving stuff' only..
i hate it very much.. sometimes they put 10 - 20 alert.. duhhh...

// swith to firefox now
__________________
Personal's Blog! - Malaysian Artist!

Last edited by mysticmind; 26-05-2005 at 02:05 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 26-05-2005, 08:47 AM
masterryzz's Avatar
Novice Webmaster
 
Join Date: Feb 2005
Location: SABAH
Posts: 19
Rep Power: 0
masterryzz is on a distinguished road
Thumbs up hmmm...

Quote:
Originally Posted by mysticmind
i think.. nowaday... nobody want to use Netscape anymore lah..
so old and s*cks laaa..

nad i also think that 'alert box' javascript is a newbiew 'loving stuff' only..
i hate it very much.. sometimes they put 10 - 20 alert.. duhhh...

// swith to firefox now
why did you think so?

don't matter la even alert boxes are newbies favourites, still they're nice looking...
but sometimes annoying too:')
10-20?!...
uhh... what alerts are that huh?...
that's really not good laa...

yuppss!
Firefox is even better... so standalone! so great!:-))
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 30-05-2005, 12:52 AM
BasicCX's Avatar
Novice Webmaster
 
Join Date: Apr 2004
Location: Cheras, Selangor.
Posts: 69
Rep Power: 55
BasicCX is on a distinguished road
Send a message via Yahoo to BasicCX
Quote:
<p align="center"><A HREF="http://www.webmastermalaysia.com/" onMouseOver="window.status='Go to the WebMasterMalaysia.com Page';return true">Click Here</A></p>
the window.status will not work in some browser change it to a suitable one.
__________________
Check out: http://www.xpodonline.com
Hosting & Domain: http://www.cubiex.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-06-2005, 11:00 PM
masterryzz's Avatar
Novice Webmaster
 
Join Date: Feb 2005
Location: SABAH
Posts: 19
Rep Power: 0
masterryzz is on a distinguished road
Wink Okay... I know that...

Quote:
Originally Posted by BasicCX
the window.status will not work in some browser change it to a suitable one.
Okay then, but how... or what is your suggestion?
I don't think that "window.status" will work on FireFox...
But, I'm of course still looking for any Script that would.
__________________
***Million Dollar Ideas ***
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-06-2005, 12:22 AM
BasicCX's Avatar
Novice Webmaster
 
Join Date: Apr 2004
Location: Cheras, Selangor.
Posts: 69
Rep Power: 55
BasicCX is on a distinguished road
Send a message via Yahoo to BasicCX
Haha.... i'm totally wrong! All your code is OK! That's only because of your firefox browser. Check the Javascript enabled.... click at the 'advanced...' button and check 'Change status bar text'. That's all. Hahaha... LoL
__________________
Check out: http://www.xpodonline.com
Hosting & Domain: http://www.cubiex.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-06-2005, 02:09 AM
masterryzz's Avatar
Novice Webmaster
 
Join Date: Feb 2005
Location: SABAH
Posts: 19
Rep Power: 0
masterryzz is on a distinguished road
Wink ok then...

Quote:
Originally Posted by BasicCX
Haha.... i'm totally wrong! All your code is OK! That's only because of your firefox browser. Check the Javascript enabled.... click at the 'advanced...' button and check 'Change status bar text'. That's all. Hahaha... LoL
Funny that I don't know about it...
But, one thing first...
When I posted that message, I was already talking about a javascript-enabled firefox browser lee...
I was testing that script, so that I needed to enabled javascript...
But the thing was that even though javascript was enabled, still that "window.status" didn't work... I mean not working at all...
So, that's that...
__________________
***Million Dollar Ideas ***
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 12-06-2005, 02:55 AM
BasicCX's Avatar
Novice Webmaster
 
Join Date: Apr 2004
Location: Cheras, Selangor.
Posts: 69
Rep Power: 55
BasicCX is on a distinguished road
Send a message via Yahoo to BasicCX
I mean you must enabled the change [Change Status Bar] (Check right it). OK, if u don't know just follow my simple step.

1. Click [Tools] menu -> [Options]
2. In the left menu click [Web Features]
3. Check the 'Enable Javascript'.
4. Click the [Advanced] button in the right.
5. You will see a list of 'Allow Script to:'
6. Check the 'Change Status Bar Text' and then click OK & one more time OK.

That's All!!
__________________
Check out: http://www.xpodonline.com
Hosting & Domain: http://www.cubiex.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-07-2005, 02:38 AM
masterryzz's Avatar
Novice Webmaster
 
Join Date: Feb 2005
Location: SABAH
Posts: 19
Rep Power: 0
masterryzz is on a distinguished road
Talking :-D... sorii...

Quote:
Originally Posted by BasicCX
I mean you must enabled the change [Change Status Bar] (Check right it). OK, if u don't know just follow my simple step.

1. Click [Tools] menu -> [Options]
2. In the left menu click [Web Features]
3. Check the 'Enable Javascript'.
4. Click the [Advanced] button in the right.
5. You will see a list of 'Allow Script to:'
6. Check the 'Change Status Bar Text' and then click OK & one more time OK.

That's All!!
Yups, i knew it...
it was just that i was too lazy to see what was exactly did you mean at that time... i'm on dial-up, so have no enough time to check...
the funny thing was that, why did i reply to your post as so...
sorri yee... tak sengaja...

now, i'm on perl... too lazy to learn those stuffs on js... enough if i know how to modify it...

see ya!
__________________
***Million Dollar Ideas ***
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
Display Modes 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 not 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Place To Discuss everything About Games bardshah92 Websites Review and Suggestion 0 14-01-2006 01:11 PM
NEW Netscape 8 Browser: Discuss unclejim Mamak Stall 2 29-05-2005 01:33 AM



All times are GMT +8. The time now is 01:01 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59