My code works great in IE8, Firefox and Safari. But it doesn't work properly in Opera.
What happens is that the DIV is hidden but the space occupied by the DIV remains ...
What I'm trying to do is give my user 4 options (simple links). If the click one of these, a div below is shown based on their selection. The issue I'm ...
I want to call a javascript function when a div is turned from "visibilty : hidden" to "visibility : none;"
Also note that I don't have control over the script which turns ...
I've been at this for a while and I can't seem to crack it.. I have some javascript trying to hide sibling divs, besides the one that is passed through the ...
I have multiple links in a page. When I click a particular link I want a div which contains the details of that link and hide all other divs associated with ...
Am trying to hide a div when the user doesn't click any button on it for 15 seconds.
I know how to hide and display the div by using element.style.display = ...
I'm using the Unit PNG Fix (http://labs.unitinteractive.com/unitpngfix.php) to make a transparent png work in IE. It's being used on the background image of my logo container.
So I have my ...
I have a basic show/hide javascript that works, as long as i don't make it dynamic and make sure of a parameter. I would appreciate a lot if anyone could help ...
I have used a label box to render a "please wait" message when the user clicks "Save" button. Once the processing gets over, the output gets displayed. My goal is to ...
I cannot manage to make asmall piece of javascript working in a lotus notes 6.5 email.
I'm building a html, send it by mail as a html, and inside I would like ...
I have this code which im using to reveal the Answers to some questions in an FAQ section on my website. You click the question and the div containing the answer ...
So I'm rather a wretched greasemonkey script writer. I am attempting to write a script that looks for text within all divs of a given class and then hides those that ...
My question is I have a div and I want to make it invisible through a javascript function, easy as that, seems like something a lot of people would have done, ...
Does anyone know of a good example of a div SHOW / HIDE where there is a main DIV and 2-3 other div populate (show/hide) into the Main box? Pretty much ...
I have two Javascript scripts on a site. One is an accordion (show/hide) and the other is a basic script to show/hide based on a hyperlink click. Both scripts work fine ...
I am trying to add funtionality to my items in my RadComboBox similar to the youtube comments. When you hoover a comment, you see a set of button appearing. This is ...
I have a site with a Javascript image viewer to enlarge my pics.
Therefore if you browse with JS enabled you dont have to see the link
to another page witch shows the ...
I've review some similar questions, but I can't seem to find an answer to tie this all together. I am looking for a way to create a slideshow where images ...
This is probably a simple issue but i'm having a little trouble with it. I have created a form, this form uses php for validation of the fields. I have set-up ...
I made a form somewhere on an HTML page, but made its visibility hidden so that it wouldn't appear immediately. I wanted to activate it through a button click, but ...
Hello, For starters I'm a real javascript noob. The problem is I've got some code which which should display the contents of a div depending on which of two radio buttons are selected. Works fine in IE, but in Firefox, or even Safari it will display both divs if both are clicked. In other words it won't hide the div while ...
Hi, I am new to javascript so any help would be much appreciated. I found the following script online to show/hide a login div. It works really well but I have other div I would also like to show/hide. Is it possible to have ...
I'm creating a website where I would like to create some kind of tabbed pages. To do that I wrote a javascript where I create an array of all the divs I use to create the pages and then sets them all on style="display: none;" except the one I clicked which should get style="display: block;" But I can't seem to get ...
hey all, Registered for this forum because I found this thread about hiding and unhiding divs. http://www.codingforums.com/archive/.../t-161166.html I have tried to implement this on a site that I am building and have come up with a weird result. My javascript is very poor so debugging this has become a real headache. Hopefully someone can help out. The issue is that when ...
Hi, Gang - This is my first time posting. I'm a JavaScript noob - I think I've figured out what direction to take - just not sure how to get there. I have a triple drop down select menu. I want the third(final) selection to reveal a hidden div. Am I on the right track by thinking I need to use ...
Hi need a bit of expert help with some thing i am trying to achive but cant find any code on line. all i want to do is to have a list of items in a div box on the left of the screen and when i click on one of them it shows a div box with the related text ...
Hello All, I am new to this forum and to web development, I am trying to hide div based on conditions.. This is the scenario: the div should never appear again for that user, until i write another server side message. lets say i write a message today saying " we are really sorry, but the website will be don for ...
function Show (titleImg){ // the id of the content element from the id of the title element var contentID = titleImg.id.replace (/title/, "content"); var contentDiv = document.getElementById (contentID); contentDiv.style.display = "block"; return false; } function Hide (titleImg){ // the id of the content element from the id of the title element var contentID = titleImg.id.replace (/title/, "content"); var contentDiv = document.getElementById ...
First, if you're choosing one from a list of several, radio buttons may be a better choice. Then you wont' have to worry about what's on top, there will only be one. If you're using position absolute, then position and z-index are everything. Set your positions in the order you want them, first. Your page has a lonnng way to go, ...
Let me start by saying I'm a noob to JavaScript. What I'm trying to do for my website is have a select menu that shows the number of div's that's selected. I found a JS that I could do that with, but it only toggles, not change specifically what's selected. So if you click the wrong one, it doesn't work right. ...
I am in the progress of building a new website; the layout and stuff is already done for the most part, but I am having a problem with the two order forms on my website. Well not the forms themselves, more with how they appear (and disappear). Like stated I have 2 forms on my website. When coming to my website ...
sIFR function for show/hide Div? I have the CoffeeCup Website Font software that gives me a peek at the sIFR Javascript functions, but I can't figure out how to sIFR only the visible Div on my page. This script (from CoffeeCup) is in my page header: Quote:
I am trying to make an order form I am working on accessible for users who have javascript turned off in their browser, and to do this I would like to hide a div if JS is disabled. Searching the Web has led me to think that styling the div to not display is the way forward and then using JS ...
Totally mystifies me! I'm curious: You are using a PHP page for your AJAX source yet you say you also (in other places, I assume) use FileSystemObject, which is of course strictly an MSIE capability and not much use in anything but an inTRAnet situation. So if your intranet only uses MSIE, why are you using PHP instead of ASP or ...
I have a page where I want users to be able to show some div when they click on the corresponding link. That div should then remain shown until the user clicks on a link to show some other div. At that point, the first div should be hidden. So, at any point in time, at most one of those divs ...
Hi, I have a dynamic website that sometimes can create multiple div's with the same name/id. I only want one, the first, instance of this div to appear anywhere on the page. Is there some kind of javascript that I can add to the page to detect if a second or more instances of the same named div appears and then ...
Thank you so much Glenn! I've noticed one other problem, I'm not sure if it's because of the javascript... Everything works fine in FF, however in IE, the very first radio button, when I select another radio button, never gets deselected, and if I select another button first, and then select the first radio button, that button doesn't cause the other ...
Hello. I've got two divs that won't work with the ShowContent / HideContent Javascript function, but the others work fine. I've gone over and over the lines for typos, unclosed brackets, etc., and I can't find any. My header function is this: script type="text/javascript" language="JavaScript">