HTML - Defining Javascript Variables When Click On Link
Im not sure if this is posted in the right place but anywho im just wondering if this is possible (note:im a total noob)
i have a table HTML Code: <table border="0"> <tr> <!--the embed code of a youtube video--> </tr> <tr> <p> video #1<br /> video#2 <br /> video#3 <br/ > and so on </p> </tr> and im wondering if its possible to click on one of the video #1,2 or 3 and set a javascript variable to a certain amount and change the embed code of the youtube video corresponding to the video # you selected. Is this possible or am i dreaming?? Thank You, why789 Similar TutorialsI've got a page of results, and at the bottom it has page numbers and a link for next page etc all head in a div. Sometimes it is display correctly with 20px margin-top, but other times, it has no margin-top, but will move down to its correct position when you try click on it. Anyone had this sort of thing before? Thanks Hey guys, I want to click a button that is behind an image (set in absolute position). The button that I am trying to click is within an iframe so I cant use any sort of javascript to click it. The click must be real and not faken. Iframe containing button ----> Image over it Is there anyway I can setup the image so I would be able to click thru it (add transparency setting or something like that)? The image must remain visible but I want to be able to click the button that is under it. The goal is to make the visitor click the image but it would actually click the button in the iframe behind it. Thanks alot guys, Hello, I can't seem to find the syntax which allows users to download a file by clicking on a link. For example, a user would click on a "Download" link which would pop up the download dialog box which prompts the user to save the file to their hard drive. Simply doing an a href link opens up and plays the file instead. Just to note, the file they would be downloading would be an mpg file. Thanks in advance for your help! Hey I have some music (mp3) on my site. I want to make a link so when someone clicks the link it will download the file. I don't want them to have to right click and click save target as or anything like that. Can this be done? if not in just html can you use other code to do it? Thanks SkaFreaks I need to create a link on my company's website. Once the users click the link, it should download an excel file. the file is dynamic and it should change according to the person that logs in.. I am new to html. can you guys provide me ideas to do this... Thanks Ragha Hello all, i created a link & made it non underlined, & i need to make it underline after i clicked on it can anyone tell me how i can do this? the code for my link is <a href="frontpage.view.php" style=text-decoration>Home</a> Does anyone know if there is an HTML code, were when you click at a certain point on the screen, it is a link to another document? I have a form and instead of clicking on a "Submit Button". I would like to have a text link that can be clicked to submit the action. Any ideas. Hello, I have a trouble with my web site , all my hyper links i created are opened in the same windows..... Can anyone give me the code or help on how to make another window out when the hyper link is been clicked? Thanks Regards Steve Ladies and gentlemen, I'm just a beginner to HTML. I'm trying to develop my own web page but there is still lots of things under construction. Now just the home page and some of hyperlinks are finished and available. Most of other hyperlinks are unavailable and under construction, that's why when I click over these unavail. hyperlink, the browser always tell me "the page can not be displayed"... My idea is that I would like to know how to displayed a specific page which has the message "Sorry, this page is currently under construction". So everytime I cick over any link that is unavailable, it will show me this particular page with the message on... Does anynbody know how to do this, could you please advise me how to write code to get this done. Please help me, your help is highly appreciated... Many thanks & best regards, Hao. Currently, I have a link that pops up. My issue is that within that popup, I have a link that I want to: - target the parent window - close on click I can get the link to either target the parent window or close on click, but I can't get it to do both. Help? I am trying to pass variables to a php script from a text link. This is how I was doing it: <a href="page.php?variable=something"> However, my question is: is there a way to do this so that the variables are NOT included in the URL? So the destination URL would be 'page.php', and not 'page.php?variable=something', but the variable would still be passed? THANKS! i want to make appear in a text box an item from a list box when i choose what item i want. <select size="1" name="s1" class="clsSelect"> <option selected="selectd">cod_artigo</option> <option>desig_art</option> <option>pr_compra</option> <option>num_enc</option> <option>mda</option> <option>quantidade</option> <form name="1" action="condicao1.php" method="post"> <textarea cols="55" rows="4" name="txt2"></textarea> </form> Please help me! xD im a noob xD Greetings Please is there a way to execute these two scripts bellow, one of them is html and the other is javascript, with one click: <input type="button" onClicK="top.clearCountings(), top.clearIt()" value="CLEAR TABLES AND INTERNAL COUNTERS"> <a href="lottoDown.html" target="lottoDown">CLEAR RIGHT FRAME</a> Both belong to this: http://2move.me.uk/londoner.html Regards at least10 No. I think I got misunderstood. in my Page1.html I have this: <a href="Page2.html?ProductID='1234'>Page 2</a> So, this would open my Page2 with variable ProductID=1234. When it opens, how could my VBScript in there pick up the received variables? Hello I'm new to this forum so I hope I'm posting this in the correct pace. I'm not even sure its possible but I would like to assign an image to a border. The main idea is that I can then use some gradiant images to create a gradient border. Does anyone know if this is possible in HTML? If not how do I acheive this affect. I've seen it on other pages and really like the look of it. Thanks Paul I've run into a problem. I've got hyperlinks triggering a JS function, using this code: Code: <A href=javascript:MyFunc()>Clickable text</A> The JS function I'm triggering is used to artificially update the browser history. (This is because of AJAX requests, and I'm doing it using the Really Simple History library.) Now, unfortunately, updating the browser history triggers IE's "click" sound. That would be fine except the hyperlink also triggers that sound, so you get two clicks in close succession! If possible I'd like to disguise one of them so you only hear one click. I can do this by triggering the JS function with a FORM button instead of a hyperlink. But then you lose the CSS attributes that you can decorate hyperlinks with. I want it as much as possible to look like a normal website. So what I'm after is a way to make clickable, "decoratable" text that triggers JS without triggering the click sound. In other words, a silent hyperlink. Is there such a thing? Thanks in advance, Seymour. I have several links on my site, all in the form of <a href="http://www.mywebsite.com">mywebsite</a> How do I need to change it such that a new instance of the browser is used in which the linked site is displayed. Ive been working on a website in my free time, and I have been wondering if it's possible to hover over a link, and change the text color of another link. A picture of one of my web pages is shown in the link below. http://i223.photobucket.com/albums/d...screenshot.jpg I want to be able to hover over something from the side navigation bars and have various links in the bottom naviational bar change color. So like hovering over Blood Elf, would make Death Knight, Mage, Paladin, Warlock, Priest, Rogue, Hunter turn red Does anyone know how to do this? or even know if it is possible? |