473,406 Members | 2,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Javascript OL method

In Internet Explorer, some web links use the JS method "OL" to effect the
transfer to another web page. On the address bar, it looks like this:
javascript:ol( ... );
where the content between the paratheses specifies the actual web link. This
method does not work on my PC. I can work around this by copying the content
between the paratheses and pasting it into another IE window. However, this
is a pain in the neck. Can anyone suggest a reason? My PC specs are:
Dell Optiplex GX270 3.0 ghertz.
512 mb Ram.
Windows 2000 Pro SP4 with all the latest updates.
May 19 '06 #1
4 2707
Fred K Meyer Jr said the following on 5/19/2006 1:40 PM:
In Internet Explorer, some web links use the JS method "OL" to effect the
transfer to another web page. On the address bar, it looks like this:
javascript:ol( ... );
Post a URL to a page that uses that, and then view source. You will find
a function named ol in that page somewhere. You will also find a page
authored by an incompetent programmer.
where the content between the paratheses specifies the actual web link. This
method does not work on my PC.


Because you don't have the ol function defined.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 19 '06 #2
Randy Webb wrote on 19 mei 2006 in comp.lang.javascript:
Fred K Meyer Jr said the following on 5/19/2006 1:40 PM:
In Internet Explorer, some web links use the JS method "OL" to effect
the transfer to another web page. On the address bar, it looks like
this:
javascript:ol( ... );


Post a URL to a page that uses that, and then view source. You will
find a function named ol in that page somewhere. You will also find a
page authored by an incompetent programmer.
where the content between the paratheses specifies the actual web
link. This method does not work on my PC.


Because you don't have the ol function defined.
My PC specs are:
Dell Optiplex GX270 3.0 ghertz.
512 mb Ram.
Windows 2000 Pro SP4 with all the latest updates.


Could it be that ol() only works on pcs faster than 5.3 GHz?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
May 19 '06 #3
Thanks for the input, Randy. Now my question is: how do I define the ol
function?
May 21 '06 #4
Fred K Meyer Jr said the following on 5/20/2006 2:00 PM:
Thanks for the input, Randy.
Thanks for quoting what you are replying to next time.
Now my question is: how do I define the ol function?


function ol(){
//code here to do whatever it is that you want ol to do.
}

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 21 '06 #5

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

Similar topics

6
by: ged | last post by:
Hi, i am a oo (c#) programmer, and have not used javascript for a while and i cant work out how javascript manages its references. Object References work for simple stuff, but once i have an...
2
Frinavale
by: Frinavale | last post by:
JavaScript in ASP.NET Using JavaScript in ASP.NET pages can make your application seem to work faster and prevent unnecessary calls to the server. JavaScript can be used to perform client-side...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
0
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...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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...

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.