473,623 Members | 2,447 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 1605
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
3060
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
3421
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
2130
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 hope that someone knows a hack so to make it compatible with all the browsers. Thank you! Ataru
0
8168
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8672
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8614
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8471
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7153
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4075
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4167
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2603
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
2
1474
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.