HTML - Links Not Updating When 'a Href' Is Changed
OK, I have an expandable menu that, when someone clicks on an image, it takes them to a certain page. The code is currently:
HTML Code: p = new createPanel('al','Account Info'); p.addButton('images/menu/story.jpg','Story','parent.main.location="background.php"'); o.addPanel(p); I have about 12 of these links, and all the others in the menu work fine. With this particular one, I changed the "parent.main.location" At first, the line was 'parent.main.location="story.php"'); but I decided to change it. I've uploaded all the changes, and yet this link STILL accesses 'story.php' instead of 'background.php' like it is supposed to. This is the best part: I deleted the page 'story.php' off my server. Even after me doing that, the link continues to call up that page. I have cleared my cache, cookies and Firefox's "personal data" collection. Also, there are no other pages on my site that even look like 'story.php'. Anyone know why a line of code specifically calling for a different page would keep pulling up an old page - especially a page that has been deleted? Thanks a ton, Aaron Similar TutorialsMy fault, the padding pushed the div outward covering the links at the bottom. Hello, I'm trying to create a little page that auto updates itself whenever new files are added. The system is layered such that I have the top level index.html file, then in the same directory, I can add new folders that contain other index.html files. What I want to do is have the top level index.html file pick up every sub directory, grab the name from the directory, and then create a link to that directory's index.html file and then display it in the top level index.html file. So what I have right now is this: HTML Code: <body> <a href="myFirstDirectory/index.html">myFirstDirectory.html</a> </body> There is other stuff, but this is the part I need help with. As you can see, I also want the name that is displayed to be the same name as the directory. I do not know how to automate this if I have other folders in there like directory2, directory3, etc. Can anyone show me an example of how to do this or walk me through it? Thanks in advance. hello, something has went wrong with a site i done years ago! the background was fixed in the middle and stayed put while everything else moved over it. now for some reason it had became tiled and is scrolling with everything! if any one can help that would be awesome! here is the code... <style> { } table, tr, td { background-color:transparent; Center; background-attachment:fixed; background-repeat:no-repeat; border-color:EECC22; border-width:0px; border-style:Solid; } table table { border:0px; } table table table table { border:0px; background-image:none; background-color:transparent; } table border:none; border-width:0px; } table table table { width:90%; max-width: 600px; } table table table table { width:100%;; } body { background-color:00002C; background-image:url(http://i72.photobucket.com/albums/i1...ysSquare.jpg); background-position:Top table table { border-style:Groove; border-width:2px; border-color:0000FF; background-repeat:no-repeat; background-attachment:fixed; } table table table td { background-color:00005F; } table, tr, td, li, p, div { color:0000FF; font-size:8pt; } .btext { color:0000FF; font-size:8pt; } .blacktext10 { color:0000FF; font-size:8pt; } .blacktext12 { color:0000FF; font-size:8pt; } .lightbluetext8 { color:0000FF; font-size:8pt; } .orangetext15 { color:0000FF; font-size:10pt; font-family:Mv Boli; } .redtext { color:0000FF; font-size:8pt; } .redbtext { color:0000FF; font-size:8pt; } .text { color:0000FF; font-size:8pt; font-weight:bold; } .whitetext12 { color:0000FF; font-size:8pt; } a:active, a:visited, a:link, a.searchlinksmall:active, a.searchlinksmall:visited, a.searchlinksmall:link { color:0000FF; font-size:8pt; } a:hover, a.searchlinksmall:hover { color:0000FF; font-weight:bold; text-decoration:underline; } a.navbar:active, a.navbar:visited, a.navbar:link { color:0000FF; } a.navbar:hover { color:0000FF; text-decoration:underline; } a.redlink:active, a.redlink:visited, a.redlink:link { color:0000FF; } a.redlink:hover { color:0000FF; text-decoration:underline; } .nametext { color:0000FF; font-size:8pt; } .contactTable { width:300px!important; height:150px!important; padding:0px!important; background-image:url(http://img5.pimp-my-profile.com/i1/9...d5b02397.png); background-attachment:scroll; background-position:center center; background-repeat:no-repeat; background-color:transparent;}.contactTable table, table.contactTable td {padding:0px !important; border:0px; background-color:transparent; background-image:none;}.contactTable a img {visibility:hidden; border:0px!important;}.contactTable a {display:block; height:28px; width:115px;background-color:transparent!important;}.contactTable .text {font-size:1px!important;}.contactTable .text, .contactTable a, .contactTable img {filter:none!important;background-color:none!important;} .contactTable. whitetext12 {display:none;; } table td div div font {visibility:hidden;} </style> <p align="center"><a></a><br /><a href="" target="_blank"></a> <a href="" target="_blank"></a> <a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LnBpY29vZGxlLmNvbS8=" target="_blank"></a></p> We are Solarize a rock/metal/electro quartet from sunny Strathaven. We've spent a lot of time writing, recording and playing shows and finally have an album brewing up! We are back in the writing process to begin 2008 with one demo from new CD 'The 4th law of motion' already on tinternet and more still to be written/finished. We feel we've came a long way from playing 'remember when' in 05 to where we are today. Do come along to some shows and have a listen to whatever you can find online! <br /> <br /> <br /> **Here at solarize we are greatfull for any imput and will love you forever if you add us!<br /> <p align="center"><br /><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="80" width="375" align="middle"> <param name="allowScriptAccess" value="never" /> <param name="allowNetworking" value="internal" /> <param name="movie" value="http://www.poqbum.com/add/shock1.swf" /> <param name="wmode" value="transparent" /> <param name="quality" value="high" /> <param name="flashvars" value="texter=Solarize" /> <param name="bgcolor" value="000000" /> <embed type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" src="http://www.poqbum.com/add/shock1.swf" height="80" width="375" align="middle" wmode="transparent" quality="high" flashvars="texter=Solarize" bgcolor="000000" /> </object><br /><a href="target=" target="_blank"><small></small></a><br /></p> <br /> <style>td.text td.text td td a, .redlink, td.text td.text td b a {visibility:visible!important;} td.text td.text td a {visibility:hidden;}</style> <a href="target=" target="_blank"></a> <style> td.text td.text table table table td a img {width:100px;} td.text td.text table table table td div img {width:80px;} td.text td.text table table td img {width:260px; max-width:260px; width:auto;} td.text td.text table table td div img {width:80px;} * html td.text td.text table table td img {width:260px;} * html td.text td.text table table td a img {width:90px;} * html td.text td.text table table td div img {width:80px;} </style> <a href="" target="_blank"></a> Hello, I am having this problem with this one div that is nested within another one. I am trying to adjust the the nested divs margin, but the problem I am having is when I change the margins of it, then it changes the margin of the div that it is in. I am not sure why I am having this problem. Here is the page http://www.mesquitechristmas.com/development/ The code in question is below. If I adjust the margins of welcome and reservations then it also changes the content divs margin. How can I fix that content div so the maring doesn't change when I change the divs nested inside it? Code: <div id="content"> <div class="welcome"> <img src="images/welcome.gif" alt="Welcome To Texas Camping Forum" style="margin-top: 3px;"> <p> Coming Soon, a new and improved Texas Camping Forum for Fall 2008!!!<br> Bookmark us and check back often....</p> </div> <div class="reservations"> <img src="images/reservations.gif" alt="Make Reservations" style="margin-top: 3px;"> <p> Texas Parks & Wildlife Dept. uses Reservation America as their choice for making reservations online.</p> </div> </div> Code: #content { margin:5px 0 0 140px; width: 630px; border-left: 1px solid #F4F4F4; } .welcome { margin: 20px 0 0 20px; width: 600px; text-align: center; background: #f5f6ea; border: 1px solid #b3b58d; } .reservations { margin: 10px 0 0 20px; padding: 5px; width: 300px; background: #f5f6ea; border: 1px solid #b3b58d; } -Thanks In my website a sample of my request and it shows how far I have gotten. Go to: www.openoursite.com and select keyword: CHRYSLER Here you will see a picture of my Red 1961 Chrysler 300. By the way, it is nearly perfect as well as beautiful. Below the picture is a button that when clicked, the picture changes to the next picture in the series of pictures. I want to beable to change the bulleted text when the picture changes. 2nd, I want the text at the bottom of the screen to beable to be changed. 3rd, I would like to beable to have a switch in the code that I can set so that only 1 of the two text areas will change and the other stay as is. On a car application, I would leave the bulleted text as is and only change the text below. Probably there should be 2 seperate switches that can be turned off or on. I have one customer (advertiser) that wants the bulleted text to change and have no text at the bottom. Can anyone help me. Thanks Launchnet I have a website and of course I have my index.html in my documents. Well today I was doing something in Notepad that had nothing to do with html and saved it as text file. Now the Blue E icon for my index.html has changed. I can still open it by choosing open with Internet Explorer. This is driving me nuts does anyone know how to get the Icon back. I am running WindowsXP. I do hope my post is clearer than mud is I'm utterly confused. Within my heavily "modded" phpBB2 forum, at the top is our Logo, which is a gif image of 800 x 150 in size. Always has been that size since last year (apart from a change in the logo itself). Now, up to a couple of days ago, the Logo displayed correct ratio in ALL browsers. But for some extreme strange reason, the image is now reduced from 800 to 720 in Firefox!! None of the css has been altered, not the overall_header.tpl file, not has any configurations for the Firefox browser been messed about with either. Section from overall_header.tpl file... Code: <table cellspacing="0" width="100%" id="forum"> <tr> <td class="forum-header" align="center"><a href="{U_INDEX}" title="{L_INDEX}"><img src="templates/ca_aphrodite/images/sblogoyg3.gif" width="800" height="150" alt="{L_INDEX}" /></a></td> <td class="forum-header header-search" align="right" valign="bottom"> </td> </tr> <tr> section from css.... Code: /* header */ .forum-header { background: #F7F7F7 url(images/bg_logo.gif) top left repeat-x; padding: 0; } All the above does in places a line wih gradiant behind the logo. To get an overall idea, see my website: http://www.screwballscrabble.co.uk Anyone got any ideas why Firefox is not displaying images at the original size? Any pointers would be extremely grateful! Thanks. Hi Guys. I recently updated my website, I moved my company logo so it would be above my main navigation, however by doing this I needed to change the .css slightly (the "Stage" width was altered - this was the only thing I changed). By doing this it allowed for a slightly newer navigation layout which you can view HERE. However since I have done this, the website is no longer viewable properly using a Mac (it still looks fine on a PC) why would this have changed? (I took a screen grab of what I mean - you can view it HERE I'm not a pro by any means, I have self taught myself but I am seriously stumped by this. Any help is welcome! Hi everyone, I hope I have posted this in the right area. This is my first time posting here. I currently have my main pages listed at the top of my site as graphics (see fussybaby.ca). I would like to potentially remove these graphics and use text links instead - I had the graphics designed for me, so I can't just go in and make new ones, however I'd like to change/rearrange the links and add some new ones. So my question is: How hard is this to do? Is this something I need to hire someone to do for me? Thanks in advance for any advice! Hello, I specified an if/else statement. Now, I would like to, in addition to "getting an element by Id", include an anchor (i.e., href="#span1"). below is what I have so far. where do I insert my reference to an anchor (i.e., href=...)? thanks! <SCRIPT language="JavaScript"> <!-- function getSet() { var r=Math.random(); if (r>0.5) {document.getElementById('set1').style.visibility='visible'; else {document.getElementById('set2').style.visibility='visible'; } //--> </SCRIPT> I'm trying to setup HREF (Hyperlinks) to go to UNC. The reason for this, is that I need to have users click a link on the page to install their printers, so any example of a UNC (that they could type into the run line) would be: \\PRINT-SERVER\PRINTER1 or \\Print-server\Printer2 But, when I type this in to my HREF statement, I get a permissions error when I try to click the link. However, if I copy that same link into the run line, it works. Can anyone help me here? Thanks very much in advance! I am making a simple webpage with a menubar (pictures as navigation) and an iframe. I want the pictures in the navigation bar to open different external webpages in the iframe. Now the problem is that these three pictures (blog, works, contact) are linked with href to a javascript because of the image swap effect. (i.e href=javascript:staySet). How do I make them open pages in the iframe when they already have a href value? The page can be viewed he http://stereocilia.net/ This is what I have so far: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- saved from url=(0014)about:internet --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Test</title> <style type="text/css"> html, body, div, iframe { margin:0; padding:0; height:100%; } iframe { display:block; width:100%; border:none; } </style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> td img { display: block; text-align: center; } body,td,th { color: #000; } body { background-image: url(http://www.stereocilia.net/background.jpg); background-repeat: no-repeat; background-color: #eeeeee; } </style> <Script Language=JavaScript> var prevClicked = ""; function staySet(curr){ tmpStr = curr.toString(); if (prevClicked != "") { document.getElementById(prevClicked).disabled = false; document.getElementById(prevClicked).src = prevClicked+'1.png' } document.getElementById(tmpStr).disabled = true; document.getElementById(tmpStr).src = tmpStr+'2.png'; prevClicked = tmpStr; } </Script> </head> <body bgcolor="#ffffff" leftmargin="0px" topmargin="0px" marginwidth="0px" marginheight="0px"> <div align="center"><table border="0" bordercolor="" width="100%" cellpadding="0" cellspacing="0"> <tr> <td><div align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr style="background-color:#121616"> <th scope="col"><table style="display: inline-table;" border="0" cellpadding="0" cellspacing="0" width="546"> <!-- fwtable fwsrc="Untitled" fwpage="Page 1" fwbase="ina.png" fwstyle="Dreamweaver" fwdocid = "592585180" fwnested="0" --> <tr> <td><img src="ina_spacer.gif" width="214" height="1" border="0" alt="" /></td> <td><img src="ina_spacer.gif" width="110" height="1" border="0" alt="" /></td> <td><img src="ina_spacer.gif" width="110" height="1" border="0" alt="" /></td> <td><img src="ina_spacer.gif" width="110" height="1" border="0" alt="" /></td> <td><img src="ina_spacer.gif" width="2" height="1" border="0" alt="" /></td> <td><img src="ina_spacer.gif" width="1" height="1" border="0" alt="" /></td> </tr> <tr> <td colspan="5"></a></td> <td><img src="spacer.gif" width="1" height="100" border="0" alt="" /></td> </tr> </table></th> </tr> </table> </div></td> </tr> <tr> <td><div align="center"> <table style="display: inline-table;" border="0" cellpadding="0" cellspacing="0" width="546"> <tr> <td><img src="ina_blank.png"/></td> <td><a href=javascript:staySet('A')><img src='A1.png' border="0px" id='A' onMouseover="SwapImage('A')" onMouseout="SwapImage('A')"></a> </td> <td><a href=javascript:staySet('B')><img src='B1.png' border="0px" id='B' onMouseover="SwapImage('B')" onMouseout="SwapImage('B')"></a> </td> <td><a href=javascript:staySet('C')><img src='C1.png' border="0px" id='C' onMouseover="SwapImage('C')" onMouseout="SwapImage('C')"></a> </td> <td valign="top"><p style="margin:0px"></p></td> <td><img src="ina_spacer.gif" width="1" height="1" border="0" alt="" /></td> </tr> </table> </div></td> </tr> </table> <iframe name="iframe" width="100%" height="100%" src="http://www.htmlforums.com/" frameborder="0" scrolling="yes" > </iframe> </iframe> </div> </body> </html> I have a link that handles being clicked with javascript. Currently I am doing the following: <a href="#" id="foo"> click me </a> And I handle the event of when foo is clicked in javascript. Ideally I would like it not to show the fake hyperlink when hovering over the link. Is there a better way to do what I am trying to accomplish? I want to keep the mouse icon changing when hovering over the link. Thanks, Mike Hi, new to list. I have a php page which has the results of a database query listed in 3 columns. One of the columns is a href with uses a name and code, opens up a form within an iframe and is supposed to use the list items in the form, however on one of them it only uses part of it - eg. <a href=http://<servername>/production/job_load.php/?code=$row[5]&job_name=$row[4] target=\"rpt_frame\">$row[4]<a> If $row[4] is "BOB and Fred" for example, it will only use "Bob" and ignore everything after the first space. It's an issue in several applications and I've had to work around it but I really need it this time. Everything else works fine. Any suggestions anyone? ok so i'm using a CMS and I have a page created a header, a left column, and a body I'm trying to have links in the left column display information in the body when clicked however since its a CMS the body doesn't have an actual html page? i've tried <a href="xxxxx.html" target="body">xxxxx</a> However it doesn't work I'm not sure how i'm supposed to be able to link to the body...is there a way that I can label the body? Total beginner here so please treate me gently... I have just written my 1st bit of html, using frameset and tables. All has worked ok, nothing grand, just 3 frames. Frame19(name="banner") is like an address banner, frame2("nav") is a navigation bar using a table and frame3("main") being like a main page which changes dependent on the navigation bar cell chosen. I've used href to navigate with which is working fine when only one action is required but I can't seem to get two actions to work, ie selecting in the navigation frame changes the other two frames. Have tried several variations of multiple href's but never get anywhere, expect it's syntax but stuck now. Ideally I want to select within the nav frame which then updates the banner and main frames, is this possible? bit of nav.htm I'm using: <tr> <td><font color="#000000" face="Calibri" size="3"><a href="Smain.htm" target="main">Scouts </a></font> </td> </tr> Thanks for any help I am using the a-href tag on text and images for links to other pages. All is good and working. With text, if the text I link is coloured, with the h-ref tag, regardless of text colour, it becomes blue, and when clicked, purple. I know this is normal behaviour usually, however, I have a title which I would like to be clickable, but remain the colour it is. Is there an attribute I have missed? My history: I am an electrician who likes tinkering with code. I have done a fair amount of tinkering and creation of perl coding. HTML is fairly natural to me, but may not be xhtml current. Google is the god. Cheers all or anyone for any pointers, or links to tuition siteS! Hi, I have an html page with an image: <img src="aPic.bmp" width="300" height="340" alt="A Pic"></div></td> I've made it into a link by adding: <a href = "aPic.bmp"> What I would like is when the user clicks on the image it shows them a larger version of the same image. Is there an easy way to set the size of the image displayed when they click on the link similar to the width and height set for the initial bmp? Thanks in advance. Hi, i have a problem with a intranet page that i am editing. I created it using quanta plus on my laptop testing with Firefox and it worked fine. I then moved the file to my network drive at my work place and tested with IE and again this worked fine. I then moved the file to the intranet webserver and this is when things started to go wrong. When i click on the the link to open the excel file for some reason IE adds the webserver to the path. eg when i hover over the link, the text at the bottom of the screen reads //webserver/file:R:/shares/file.xls. Of course this path is incorrect so the window fails to open. Has anyone come across this problem before and know how to fix this? See below for example code. Any help/advice greatly appreciated. Rgds Barry <a href="file:R:/shares/file.xls" target=_BLANK><big>Click Here<big></a> Hello all I am having yet another (i know, i know...) issue with http://fishcaves.com , if you click the logo at the top left in safari it simply redirects you to the main page (fishcaves.com). However when I click the main logo in FF for some reason it pulls uphttp://fishcaves.com/fishcaves.com which obviously doesnt exist. I am confused because the href works like it is supposed to in safar but not FF. Not sure about IE. Any advice would be excellent, thanks. Drew |