473,573 Members | 3,047 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pop up with strange behaviour in Internet Explorer but not Firefox.

Use Internet Explorer go to http://rhodeisland-aa.org/tester/meetings/index.htm

On the left click "and go to meetings"

Click any address in the right hand 'location' column.

The entire page reloads in the frame. (Bad)

Perform the same test using Firefox

The entire page does not reload. (Good)

In both cases the disclaimer window appears and the application
continues. That is good, but the IE behaviour is not good.

I know I am doing something wrong -- please tell me.

Thank you.

May 29 '07 #1
11 1597
I'm using FF2 and the entire page does reload too.
May 30 '07 #2
Pay no attention to what I wrote earlier. You are right.

May 30 '07 #3
Ok. This is what you have to do. Put something in the href="";
otherwhise, IE will fill it for you to http://rhodeisland-aa.org/tester/meetings/,
which will cause the entire page to reload.

But. It seems like FF is replacing it with the current URL in the
address bar.

Put something like href="#".
May 30 '07 #4
Lee
no************* @gmail.com said:
>
Ok. This is what you have to do. Put something in the href="";
otherwhise, IE will fill it for you to
http://rhodeisland-aa.org/tester/meetings/,
which will cause the entire page to reload.

But. It seems like FF is replacing it with the current URL in the
address bar.

Put something like href="#".
More important is that the onclick handler return false, so the
browser doesn't try to follow the link.

<a href="#NoLuckIf ScriptDisabled"
onclick="launch (610);return false">Sturdy Hospital Auditorium, 211 Park Street
02703</a>
--

May 30 '07 #5
On May 29, 9:57 pm, Lee <REM0VElbspamt. ..@cox.netwrote :
noagbodjivic... @gmail.com said:
Ok. This is what you have to do. Put something in the href="";
otherwhise, IE will fill it for you to
http://rhodeisland-aa.org/tester/meetings/,
which will cause the entire page to reload.
But. It seems like FF is replacing it with the current URL in the
address bar.
Put something like href="#".

More important is that the onclick handler return false, so the
browser doesn't try to follow the link.

<a href="#NoLuckIf ScriptDisabled"
onclick="launch (610);return false">Sturdy Hospital Auditorium, 211 Park Street
02703</a>

--
Thank you - this is great.

Are you using some debugger to get this or is it just a superior
development of your craft?
Thanks

Frank Toohey

May 30 '07 #6
ft310 said the following on 5/29/2007 11:15 PM:
On May 29, 9:57 pm, Lee <REM0VElbspamt. ..@cox.netwrote :
>noagbodjivic.. .@gmail.com said:
>>Ok. This is what you have to do. Put something in the href="";
otherwhise, IE will fill it for you to
http://rhodeisland-aa.org/tester/meetings/,
which will cause the entire page to reload.
But. It seems like FF is replacing it with the current URL in the
address bar.
Put something like href="#".
More important is that the onclick handler return false, so the
browser doesn't try to follow the link.

<a href="#NoLuckIf ScriptDisabled"
onclick="launc h(610);return false">Sturdy Hospital Auditorium, 211 Park Street
02703</a>

--

Thank you - this is great.

Are you using some debugger to get this or is it just a superior
development of your craft?
It is a superior development of the craft with some sorcery thrown in
for fun. It can be learned from the group FAQ and the archives though.
Personally, I don't care for the onclick="launch (160);return false", I
prefer onclick="return launch(160)" and let the launch function return
true or false. You can search the archives to find out why return
functionName is a better alternative.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 30 '07 #7
On May 30, 12:27 am, Randy Webb <HikksNotAtH... @aol.comwrote:
ft310 said the following on 5/29/2007 11:15 PM:
On May 29, 9:57 pm, Lee <REM0VElbspamt. ..@cox.netwrote :
noagbodjivic... @gmail.com said:
>Ok. This is what you have to do. Put something in the href="";
otherwhise, IE will fill it for you to
http://rhodeisland-aa.org/tester/meetings/,
which will cause the entire page to reload.
But. It seems like FF is replacing it with the current URL in the
address bar.
Put something like href="#".
More important is that the onclick handler return false, so the
browser doesn't try to follow the link.
<a href="#NoLuckIf ScriptDisabled"
onclick="launch (610);return false">Sturdy Hospital Auditorium, 211 Park Street
02703</a>
--
Thank you - this is great.
Are you using some debugger to get this or is it just a superior
development of your craft?

It is a superior development of the craft with some sorcery thrown in
for fun. It can be learned from the group FAQ and the archives though.
Personally, I don't care for the onclick="launch (160);return false", I
prefer onclick="return launch(160)" and let the launch function return
true or false. You can search the archives to find out why return
functionName is a better alternative.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptT oolbox.com/bestpractices/
Randy Again thanks -- love your answer -- it you got it . . .

The hint about the return will be implemented immediately.

May 30 '07 #8
Randy Webb wrote:
>Are you using some debugger to get this or is it just a superior
development of your craft?

It is a superior development of the craft with some sorcery thrown in
for fun. It can be learned from the group FAQ and the archives though.
Personally, I don't care for the onclick="launch (160);return false", I
prefer onclick="return launch(160)" and let the launch function return
true or false. You can search the archives to find out why return
functionName is a better alternative.
Could you perhaps provide a search string to that effect?

I tried "return functionName" just in case, and well, it was not
satisfactory to say the least.

I am quite happy to know that I already subscribed to this method of
coding though. Why it is necessarily better I do not know. I did it
because it just made sense to reduce clutter in your markup and two,
because, why not have the function do it for you?

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
May 30 '07 #9
-Lost said the following on 5/30/2007 11:23 AM:
Randy Webb wrote:
>>Are you using some debugger to get this or is it just a superior
development of your craft?

It is a superior development of the craft with some sorcery thrown in
for fun. It can be learned from the group FAQ and the archives though.
Personally, I don't care for the onclick="launch (160);return false", I
prefer onclick="return launch(160)" and let the launch function return
true or false. You can search the archives to find out why return
functionName is a better alternative.

Could you perhaps provide a search string to that effect?
I could probably come up with one if I searched and looked long enough.
It is quicker and easier to explain it though.
I tried "return functionName" just in case, and well, it was not
satisfactory to say the least.

I am quite happy to know that I already subscribed to this method of
coding though. Why it is necessarily better I do not know.
Then why do you use a method that you don't know why it is better? :)
I did it because it just made sense to reduce clutter in your markup and two,
because, why not have the function do it for you?
In this code:

onclick="someFu nction();return false"

If someFunction has a coding error in it where it causes an error, then
the return false never gets executed and the browser will navigate to
the href property of the A element. With this code:

onclick="return someFunction()"

If someFunction has an error in it then it essentially returns false (I
believe it actually ends up as return null which type converts to return
false) and cancels the navigation.

Makes debugging a lot easier when the browser isn't navigating away on you.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 30 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3057
by: ckirchho | last post by:
Halo, I am trying to realize a two column layout basically like this: <html> <head> <style> leftCol { float: left; width: 15em; }
7
3420
by: lewisthesmith | last post by:
Hi everyone, I have been working on converting a site from a frames / tables layout to a CSS based one. I thought I had it all sorted, however I am getting some odd behaviour in IE: when I visit http://www.smanagement.co.uk/newsite/people.php?id=4 in Internet Explorer a horizontal scroll bar appears for the window (I
0
2124
by: atarumorooka | last post by:
Hello, yes..it must be hard to try and help someone else coding but today is a full week of sadness and stress for IE CSS rendering and I need your help. Here you have a link that looks nice with Opera and Firefox but it shows problems with IE6 (I've no idea with IE7): http://www.fitcisl.it/fit/index.asp Here I copy the css code with the...
0
7783
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8204
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8068
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5600
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5293
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3734
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3735
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2222
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1044
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.