Basically I have a WinXP machine (SP1 with all web updates don't want to
upgrade to SP2 until this issue is resolved) and IE 6 (all web updates).
If I am on a secure (https) site none of the hyperlinks seem to work. As I
mouseover the relevant links are shown in the status bar (ie another page or
site), but when I click on these links nothing happens at all. Its as if
something is blocking the process of firing these links. NOTE: I can click
on form buttons OK and the exact same links work fine on 3 other machines
that I have.
I have created web pages that do client-side form validation using the onclick directive. E.g.,
<form action=other_page.cgi method=post> Enter your age: <input name=age> <input type="submit" value="" validate_form()"> </form>
where validate_form() returns true or false depending on whether the user entered a valid age.
This does what I want almost everywhere (e.g., Firefox on FreeBSD, Safari on Mac, IE on Win2000) but recently I have become aware of an exception: IE on WinXP.
On WinXP's IE, validate_form() is called (and will display an alert box if that's that's what I coded), but whether it returns true or false, the form is submitted. (Then we do the server-side validation and throw up an error page, but I'd rather catch this client-side.)
So the question I have is: why is WinXP so weird about this? Previous versions of IE didn't do this.
While looking into this, I've discovered I can also do an onsubmit check in the form tag, e.g.,
Is onsubmit new or has it been around for a while? Can I trust old Mozillas on Linux to do the right thing with it? Windows is actually a small portion of the target audience, but I like to make things work for everyone.
Does it make a difference if the form is submitted to the same page or a different page? I don't have ready access to Windows XP to test this out.
I'm looking for a while for doc's to understand how to delelop my own https client to automate some tasks.
The website, I try to use for example, contains a javasript to provide for login (URL: https://www.cortalconsors.de/euroWebDe/-). I've attached the part of the code which is supplies the login fields (probably easier to read when browsing the source code of the page). I've no idea, how the POST should look like to do the login.....
If users click say a home page link on one of my https user login pages they are brought to a https version of my home page. Can I prevent certain pages from being accessed by https. I was looking at [url] but don't know how to implement it in this case.
Is there javascript that detects https and diverts to a http page on refresh or something. ( a bit like the javascript detection script HTTP-EQUIV="refresh" content="0;URL=page.php?page=javascript">)
I have too many links on https pages to create a long url for them all.
I'm developing a website where a visistor does not have to use the mouse. All he has to do is use the Tab-key or key-combinations to jump to specific hyperlinks (containing accesskeys). Next, he presses the Enter key to follow the hyperlink.
My question is: is it possible to change color of the hyperlink when a hyperlink get the focus. I do not only want to see the dotted line, I want the hyperlink to lighten up.
i want to open all links on my website in a div tag like facebook.com or esl.eu. how can i do this ?i want to make a chatbar like facebook or esl.eu and this bar should not reload anytime if i click on an link on my website.
<body> <div id="chatbar"></div> <--- should not be reloadet <div id="content"><--- website with all links in it <a href="link"></a> <--- should open in <div id="content"> without reaload the hole website</div></body>
I have been trying to develop a script that creates a slideshow that adds hyperlinks to the images.
I'm a beginner at Javascript, so I've made a bastardisation of 3 different scripts I've found that, by my reckoning, should work.
This is the slideshow code:
I know that for the most part, this script works. It was only when I tried to add the component that involved adding a hyperlink that it broke. The bit of code in the HTML that it directly affects is <div id="view_portfolio"> </div>
Does anyone know why the javascript doesn't work? I have a feeling it's because I haven't applied the id tag in the HTML properly, but I don't know what exactly is wrong about it.
The gallery I have made so far is at [url], except that at the moment, the images don't show. I've attached the javascript & html code.
I would like to create a series of checkboxes that would define a particular entity by it's attributes. For example let's say I have some check boxes that say
age limit 18+ [X] Hip Hop [ ] Electronica Dance [X] Least expensive [ ] [moderately expensive [ ]
These selections above will activate, deactivate, highlight, or bold selections below
Club one Club two Club three
And when unchecked all the links are unfiltered Etc...
When these check boxes are checked in any combination it would remove the hyperlink or highlight/bold the hyperlink of whatever is filtered Would really like someone to point me in the right direction on how to structure this.
I am looking for a js script that will monitor when a hyperlink is clicked and force that link into a new window or native application.
If the link is to a different web page, the link should open in a new window. If the link is a word document, the document should open in word or the default editor. If the link is within the same page, such as a back to top or bookmark, the link should stay on the page and simply go to the desired location.
- a popup is opened in http and the form is submitted to https
- the https windows tries to do various stuff to opener....:
Error: Permission denied for https get property Window.document
Any solution for this? Same domain... makes no sense to me such security...
In our application there is also a similar known error, but we can live with that: when a page is accessed with ssl/https jquery thickbox ajax is not working.
I am trying to write a tool (say [URL])The tool contains a list of https urls (say [URL]) given as a hyperlinks (say abc) on clicking the url the http status code of the https page should be displayed in the same page.. Is this possible? I am currently using the following code snippet.. function sendRequest(url){ var client = new XMLHttpRequest(); client.onreadystatechange = function(){ if (this.readyState == 4) alert(client.status); } client.open("GET", url, true); client.send(null); } This seems to be working if the url given is http url but I have to get status for https url for a non-secure (http) url.
I am just starting to use the DOM to do some more advanced javascripting so please be patient with my question if it is an ignorant question.
I would like to use the DOM to dynamically create an html table via javascript. While that table is being dynamically created in a javascript function I would like to dynamically insert text and a hyperlink with an image into each cell.
I got pretty far on my own. I was able to dynamically create a table and insert a string into each cell. However, I was not able to use the DOM to insert a hyperlink into each cell. I tried adding it as a new text node and got the text of a link rather then a link. I then tried adding and setting an anchor element but I got nothing. Code:
I'm trying to select all hyperlinks in a webpage, and making the text all CAPS as an exercise. However, simply selecting $('a[href]') selects ALL hyperlinks, including hidden ones, pushing the text to the front. My css-fu is not very good, this is what I have so far.
$('a[href]').each(function(index,element){ if (!element.parents().css('display:none'){ element.text(element.text().toUpperCase()); } };
I'm working on a site for a college javascript class, but I want to do a little bit more with my class site. I have a very simple slideshow set up( as a pop-up), but I want the images to be clickable and take the person to a site. Specifically, I have images for books on amazon, and I want the person to be able to click on the images and be taken to the specific page where the book is sold.
I'll post what I have, I was wondering what would be the best way to integrate it into my slideshow.
<body onblur="self.close()"> <div style="text-align: center;"> <p>If you like this site, you will love these<br /> wonderful books. Click <a href="http://www.amazon.com">here</a>
I have a collection of hyperlinks in a web page and I need to know how I can do the following:
1) When I click a hyperlink, change the Class of all hyperlinks that have the same link phrase text (or value).I have tried this but it doesn't seem to work (it was a bit of a guess!):
Is this the right way to call this https request or I need to do some other authentication also Currently it does not work in iphone It return's json data in firefox,chorme,IE ,safari but doesn't return it in iphone
I am writing JavaScript code that runs inside HTTP page, I need to make XMLHttpRequest to a REST web service. The service is running on the same site but it only accepts HTTPS. I tried to prefix the URL with https:// and Firefox rejected it as cross-site scripting attempt. It's not really cross site as I am calling the same site.
I don't have an option to redirect the entire page to https.
I am making a site and I have an SSL certificate installed in the hosting. The problem I have is that any body can enter in the site's directories/files with https and also with http protocol :eek: .
I do not know how to do, so when some body try to open the directories/files with http the site is opened only with https protocol. With .htaccess, javasript, php, ??????
I'm wanting to take all links pointing to external urls and insert a title tag with some text that I can then turn into a mouseover tooltip effect.The purpose is simple, we want to inform the visitor that by clicking on the link they would be taken away to another site. The warning message would be in the title tag.
Each external hyperlink already has an rel="external" tag so I can work off of that. This gives me:
As my element identifier. Now, in trying to insert this title tag, i've explored the append and appendTo but those refer to adding items to the end. I need the method that inserts this in between the <a></a> tags as it's own part of the hyperlink code. which method I should use to add something like this:
title="Clicking this link will take you away from this site"
I've even thought of possibly appending it as a hidden <span> item then revealing it on the mouseover.
One bit of additional info, i'm using Wordpress and want this to automatically deploy on all specified elements automatically.
So I have a images stackedverticaly on the left side of the page, one isa hyper link and the rest are just images thattoggle in/out a ul/li list with more hyperlinks. The image for the href has either a blue or purple glow surrounding it, I presume this is CSS relating to visited or not. How do I get rid of that? Also it is slighlty out of line with the other images, but my CSS doesn't seem to have any affect. It is the Submit a Request Button that is in question