HTML - Help With Picture Thing I Gotta Do
first, sorry if this is in the wrong forum, because it has to be done with javascript or something...
anways, i need to make something that will be able to have just a picture, 650 x 650 or so, and when it is clicked, it will change to another (hopefully random) picture. also would like to do something below the picture, a link that you can click to open the picture up in a new page, in mabey a 900 x 900 size, or reverse the clickingof link/pic if that would be easier... i could probably figure out the enlarging, but for the getting new picture i have no clue... any help would be awsome. thanks Similar TutorialsOK im kinda new to HTML and ive done lots of researching online and online tutorials. What im trying to do is have a button do more than one thing. I cant use PHP or anything other just HTML. Anyone ? Thanks Ok... HOWCOME1 is in I.E., and HOWCOME2 is in FF. Can someone explain this error to me? I've never seen something like this before... Any suggestions, fixes etc. What's going wrong is circled in red... Help needed preferably. http://www.influxgaming.com/ Thanks, in advanced. So I'm using this frameset on this one page, and I got 2 frames on it, lets call them "menu" and "main", which link to menu.html and main.html respectively. I'm trying to simply make a href in the "main" page that goes to another page which doesn't have the frameset. so if i type <a href="page2.html" target="new">Link</a>, pretty much just using "new" as an arbitrary word here, it does what i want it to do in Firefox (exits the frameset and goes to page2.html). but in other browsers it opens a new tab for page2.html instead of opening in the same tab. I think it has something to do with the target, but i'm not entirely sure what to set it to. So, how do i get it to not open a new tab when i want to exit the frameset? dear viewers i am new to this forum . i need some help on creating a addon in internet explorer i work for quality check in a limited company. in quality checking procedure i will get a IE page where i have to check whether the spellings are correct and whether the space before after colon and fill stop are correct..... this is my checking procedure. i can find some colon spacing errors by looking at the page. but i dont want to waste my time on finding a bulky pages................... so please any one help me on creating a button or some other source which fits in Internet Explorer when i click that button it should find all the colons and compare the spaces before and after the colon and "?". remaining symbols i can add later...... thnaks in advance Hi I have this Code in HTML (not XHTML): Code: <html> <head> <title>1_html_works_with_both</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } </style> </head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="100%" height="320" align="left" valign="top" bgcolor="#FF0000"> </td> </tr> <tr> <td width="100%" height="100%" align="left" valign="top"><iframe width="100%" height="100%" frameborder="0" src="http://www.cnn.com/" name="test" id="test" scrolling="auto" /></td> </tr> </table> </body> </html> This displays a red space of 320 pixels height at the top of the page, and under it, until the bottom of the page, the CNN website (in an Iframe). This is absolutely no problem and works in Firefox and IE. Now I do the same with XHTML: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>2_xhtml_works_with_none</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } </style> </head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="100%" height="320" align="left" valign="top" bgcolor="#FF0000"> </td> </tr> <tr> <td width="100%" height="100%" align="left" valign="top"><iframe width="100%" height="100%" frameborder="0" src="http://www.cnn.com/" name="test" id="test" scrolling="auto" /></td> </tr> </table> </body> </html> This will not work in Firefox and also not in IE. It will display the same fix red space, but the iframe will not fill the page until the bottom of the page. So, there is this known fix: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>3_xhtml_works_only_with_firefox</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> html { height: 100%; overflow-x: hidden; } body { height: 100%; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } </style> </head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="100%" height="320" align="left" valign="top" bgcolor="#FF0000"> </td> </tr> <tr> <td width="100%" height="100%" align="left" valign="top"><iframe width="100%" height="100%" frameborder="0" src="http://www.cnn.com/" name="test" id="test" scrolling="auto" /></td> </tr> </table> </body> </html> But: it works only with Firefox. Firefox understands this 100% high table cell as "fill the rest of the page" while IE understands it as "a whole page height, not only the rest of the page". This results in... a scrollbar mess! I hope you can follow... you can test it with the code provided. Thanks for any help! praiser Hi, My Problem is with ie6 only I have a Menu with Mouse over that changes the background color. I have 6 different menu Home-About-partnership-findadealer-becomedealer-faq-calculator but here's the poroblem: calculator appears twice in the page and in the source code it is there only once. The proof when you try to highlight the word 'calculator ' , both are highlighted. And , Another weird thing if you go on the calculator Page: Everything is ok Any help would be appreciated Thanks Sorry, I have no idea what to call it. The below linked website has a green sort of border on both sides of the main white page: http://www.lusu.co.uk/bowland I was wondering what coding could be used to achieve that effect? Thank you, Suzanne. Hi the phone number box is not placed correctly as you can see he http://extramoney.net16.net How do i fix it ? There must be a small error in the code .. HTML code he <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Exclusive - Template</TITLE> <META http-equiv=Content-Type content="text/html; charset=utf-8"> <STYLE type=text/css>#mainWrapper { MARGIN-TOP: 0px; FONT-SIZE: 12px; MARGIN-LEFT: auto; WIDTH: 732px; COLOR: #333333; MARGIN-RIGHT: auto; FONT-FAMILY: Arial, Helvetica, sans-serif } BODY { MARGIN-TOP: 0px; BACKGROUND-IMAGE: url(repeater-orange.jpg); BACKGROUND-REPEAT: repeat-x } #video-area { BACKGROUND-IMAGE: url(../ExclusiveTemplate/HTML/images/video-area-bg.jpg); BACKGROUND-REPEAT: no-repeat; HEIGHT: 385px } #footer { BORDER-TOP: #cccccc 1px dotted; MARGIN-TOP: 20px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px } .style1 { FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #666666 } </STYLE> <META content="Created with Trellian WebPage" name=description> <META content="MSHTML 6.00.2900.6036" name=GENERATOR></HEAD> <BODY> <DIV align=center> <TABLE style="Z-INDEX: 101; LEFT: 331px; WIDTH: 589px; POSITION: absolute; TOP: 103px; HEIGHT: 351px" height=351 cellSpacing=0 cellPadding=0 width=589 border=0> <TBODY> <TR> <TD><IMG style="WIDTH: 596px; HEIGHT: 334px" height=300 alt="" hspace=0 src="7fa10df874.jpg" width=600 border=0></TD></TR></TBODY></TABLE><IMG height=87 alt="" hspace=0 src="header-orange.jpg" width=732 border=0><BR> <DIV id=mainwrapper style="WIDTH: 733px; HEIGHT: 98.9%"> <DIV align=center><IMG height=385 alt="" hspace=0 src="video-area-bg.jpg" width=732 border=0></DIV> <P align=center><FONT face=Default size=2><FONT face=Impact><FONT size=3><FONT face="Gill Sans MT" color=#ff0000 size=4><STRONG>Discover The Secret $35K/Month System That <U>WILL</U> Separate You From The Pack!</STRONG></FONT> <BR></FONT></FONT><FONT face="Tw Cen MT"><FONT face="Lucida Sans Unicode" color=#000000><FONT color=#000000><STRONG><FONT face="Gill Sans MT" size=3>(The Very Good News Is That Im Gonna Reveal It To You For FREE! This Is Unheard Of..!)</FONT></STRONG><BR>You Will Be Getting Instant Access To The Full 1on1 Training Course That <BR>Others Have Paid Upto $1,997 To Use For <U>FREE</U>! This Wont Last Long, Sign Up Today...<BR></FONT> <SCRIPT src="http://www.jotform.com/min/g=jotform&3.1.9" type=text/javascript></SCRIPT> <SCRIPT type=text/javascript> JotForm.init(function(){ $('input_7').hint('ex: myname@example.com'); }); </SCRIPT> <LINK href="http://www.jotform.com/css/styles/form.css?v3.1.9" type=text/css rel=stylesheet><LINK href="http://www.jotform.com/css/styles/jottheme.css" type=text/css rel=stylesheet><LINK href="http://www.jotform.com/css/calendarview.css?v3.1.9" type=text/css rel=stylesheet> <STYLE type=text/css>.form-label { WIDTH: 100px! important } .form-label-left { WIDTH: 100px! important } .form-line { PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px } .form-label-right { WIDTH: 100px! important } .form-all { FONT-SIZE: 12px; BACKGROUND: #ffffff; WIDTH: 275px; COLOR: #000000! important; FONT-FAMILY: "Trebuchet MS" } </STYLE> <FORM class=jotform-form id=3155437226 name=form_3155437226 accept-charset=utf-8 action=http://www.jotform.com/submit.php method=post><INPUT type=hidden value=3155437226 name=formID><FONT size=3> </FONT></P> <DIV class=form-all> <UL class=form-section> <LI class=form-line id=id_9><LABEL class=form-label-left id=label_9 for=input_9><FONT size=3>First Name<SPAN class=form-required>*</SPAN> </FONT></LABEL> <DIV class=form-input id=cid_9><INPUT class="form-textbox validate[required]" id=input_9 size=25 name=q9_firstName><FONT size=3> </FONT></DIV></LI> <LI class=form-line id=id_7><LABEL class=form-label-left id=label_7 for=input_7><FONT size=3>E-mail<SPAN class=form-required>*</SPAN> </FONT></LABEL> <DIV class=form-input id=cid_7><INPUT class="form-textbox validate[required, Email]" id=input_7 size=25 name=q7_email><FONT size=3> </FONT></DIV></LI> <LI class=form-line id=id_8><LABEL class=form-label-left id=label_8 for=input_8><FONT size=3>Phone Number<SPAN class=form-required>*</SPAN> </FONT></LABEL> <DIV class=form-input id=cid_8 style="WIDTH: 156px; HEIGHT: 41px"><SPAN class=form-sub-label-container><INPUT class="form-textbox validate[required]" id=input_8_area size=3 name=q8_phoneNumber8[area]><FONT size=3> - </FONT><LABEL class=form-sub-label id=sublabel_area for=input_8_area><FONT size=3><FONT size=1>Area Code</FONT> </FONT></LABEL></SPAN><SPAN class=form-sub-label-container><INPUT class="form-textbox validate[required]" id=input_8_phone size=8 name=q8_phoneNumber8[phone]><FONT size=3> </FONT><LABEL class=form-sub-label id=sublabel_phone for=input_8_phone><FONT size=3><FONT size=1>Phone Number</FONT></FONT></LABEL></SPAN></DIV></LI> <LI class=form-line id=id_2> <DIV class=form-input-wide id=cid_2> <DIV class=form-buttons-wrapper style="TEXT-ALIGN: center"><FONT size=3><INPUT type=image height=69 alt="Submit Form" width=270 src="get-instant-access.jpg" border=0> </FONT></DIV></DIV> <LI style="DISPLAY: none"><FONT size=3>Should be Empty: </FONT><INPUT name=website><FONT size=3> </FONT></LI></UL></DIV><INPUT id=simple_spc type=hidden value=3155437226 name=simple_spc> <SCRIPT type=text/javascript> document.getElementById("si" + "mple" + "_spc").value = "3155437226-3155437226"; </SCRIPT> <FONT size=3></FONT></FONT></FONT><BR></FONT><IMG style="Z-INDEX: 102; LEFT: 362px; POSITION: absolute; TOP: 675px" height=111 alt="" hspace=0 src="arrow-hand.JPG" width=128 border=0> <IMG style="Z-INDEX: 103; LEFT: 781px; POSITION: absolute; TOP: 672px" height=111 alt="" hspace=0 src="arrow-hand1.JPG" width=128 border=0> <TABLE style="Z-INDEX: 104; LEFT: 371px; TOP: 853px" height=16 cellSpacing=0 cellPadding=0 width=506 border=0> <TBODY> <TR> <TD> <P class="style21 style1" align=center><FONT face=Arial><FONT color=#000000 size=2>The Goal Is To Create The Next 20 "Internet Big Shots" This Year!<BR>(Your Background, Experience, Online Skills, Looks, Doesnt Matter)<BR></FONT><BR></FONT>Michael?s Millionaire Mentoring - Home - Privacy - Disclaimer - All Rights Reserved 2010</P></TD></TR></TBODY></TABLE></FORM></DIV></DIV></BODY></HTML> Hi All, I'm working on http://www.thesuccessleague.com/hbbtsstart.php and I'm trying to get the red text box on the left (with the picture of a woman) at the very top. I'm sure there's a cleaner way to do it (I'm not an expert at div tags yet), so I put the text box in a table and put that table in another table (as you can see in the code). What code do I have to use to anchor that red text box to the top of that left column? Do I need to use div tags? And if so, how do I anchor it to the table (and not to specific coordinates measurade against the top and left margins)> Thanks for your help! Hello, it seems every now and then when I create an image from a document/scan or such and I upload it, It displays fine in FireFox, however users in IE are reporting that they're not seeing the image. Can anyone take look at this image and tell me if you see this displaying in IE? http://thejf.org/images/JCC124.jpg Is this an IE bug or something? How come this image appears fine in FireFox but not IE? Hi, Maybe this has been asked a thounsand times in this forum, but I haven't been here for a while. I would like to know how this is done: You have a button with a thumbnail of a picture that you click and this zoom in in the same page, then you click it back to zoom out. Any help will be appreciated. Thanks Hi all i have a website banner wich i want as my signature so when someone clicks on it they go to my website i just need the html code for it if anyone can help thanx alot. Cheers Jacob If you could take a look HERE and tell me how I would do the same sort of picture menu with text to the right and in line with the centre of the pic WITHOUT using a table? The table is just giving me trouble!! Sorry to ask so many questions BTW. how do i put a picture on the title bar? well, some sort like the bulb on this website. I want to create this type of a navigation utility to scroll through large amounts of pictures 5 at a time. The picture links will be stored in an array. Any suggestions as to how I should code this? I work in asp if that matters. Code: <table> <tr> <td style="background-color:#cccccc;border:medium inset #ececec;padding:0;"> <input type="button" name="first" id="first" value="First 5" /> <input type="button" name="previous" id="previous" value="<<Prev 5<<" /> <input type="button" name="next" id="next" value=">>Next 5>>" /> <input type="button" name="last" id="last" value="Last 5" /> </td> </tr> </table> Thanks in advance! After re-structuring the whole website, i got some problems with my pictures. As you see on theese 2 pics i can't get the pictures centered, even with the <center> tag! (images removed) before re-structuring i couldn't center the pictures neither, so it isn't because of the new structure. Please take a look on this Code and tell me if you know how to fix this problem. Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Urne's Website - Community</title> <link rel="stylesheet" type="text/css" href="style/style2.css"> </head> <body> <div id="container"> <div id="header"></div> <div id="left" style="width:210px;float:left;"> <a href="index.html"><img alt="Home2 (15K)" src="img/Home2.png" height="50" width="200" border= "0px"/></a> <p><a href="Community.html"><img alt="Community (15K)" src="img/Community.png" height="50" width="200" border= "0px"/></a></p> <p><a href="Tracks.html"><img alt="Tracks (17K)" src="img/Tracks.png" height="50" width="200" border= "0px"/></a></p> <p><a href="Videos.html"><img alt="Videos (15K)" src="img/Videos.png" height="50" width="200" border= "0px"/></a></p> <p><a href="Images.html"><img alt="Images (15K)" src="img/Images.png" height="50" width="200" border= "0px"/></a></p> <p><a href="Other.html"><img alt="Other (13K)" src="img/Other.png" height="50" width="200" border= "0px"/></a><p/> <p><a href="Trackup.html"><img alt="Track Updates" src="img/trackup.png" height="50" width="200" border= "0px"/></a><p> <p><a href="Settings.html"><img alt="Settings (13K)" src="img/Settings.png" height="50" width="200" border= "0px"/></a></p> <p><a href="Search.html"><img alt="Search (14K)" src="img/Search.png" height="50" width="200" border= "0px"/></a><p> <p><a href="About.html"><img alt="About (12K)" src="img/About.png" height="50" width="200" border= "0px"/></a></p> </div> <div id="main" style="margin-left: 210px;"> <h1>Urne's Tracks</h1> <p>Here i have all the tracks i ever made for Re-Volt. Please check this one weekly/monthly, because the site will be updated at least once/month.<img alt="Smiley" src="img/Smile.gif" border= "0px"/></p> <a href="Bone+Island.html"><img alt="Bone Island" src="img/Bone+Island+hot.png" height="200" width="200" border= "0px"/></a> <a href="At+The+Farm.html"><img alt="At The Farm" src="img/At+The+Farm.png" height="200" width="200" border= "0px"/></a> <a href="Forgotten+City.html"><img alt="Forgotten City" src="img/Forgotten+City.png" height="200" width="200" border= "0px"/></a> <br> <a href="Cyberspace.html"><img alt="Cyberspace" src="img/Cyberspace.png" height="200" width="200" border= "0px"/></a> <a href="Dark+Park.html"><img alt="Dark Park" src="img/Dark+Park.png" height="200" width="200" border= "0px"/></a> <a href="Pisa+Grandprix.html"><img alt="Pisa Grandprix" src="img/Pisa+Grandprix+hot.png" height="200" width="200" border= "0px"/></a> </br> </div> </div> </body> </html> Hope this can help you! Regards Urnemanden Hi! I'm working on adapting a we-based system called OTRS (open ticket request system) for our offices here and I've just finished modifying all the headers and css and stuff for our needs. Now, I did it in Firefox and I'm brand spanking new to this game so when one of the header logos didn't appear in IE7, it took me about an hour to figure out maybe it was IE7 that was the problem, and it turns out it is... so would someone mind having a look at this below? It's very basic, but what's happening is that the picture 'HeaderCropped' isn't displaying, the border outlines don't even show, only that funny little graphic that appears when a picture is missing ( I don't know what it's called). Obviously I'd like to be able to see the picture in both FF and IE7, but will this take a major overhaul of this code? (It took me quite a while to do this little bit!) Thanking you in advance! -Emily _________________________________________________________ # include Copyright.dtl $Include{"Copyright"} # set some html variables #<dtl set $Env{"Box0"} = ">> "> #<dtl set $Env{"Box1"} = " <<"> # check refresh <dtl if ($Data{"Refresh"} ne "") { $Data{"MetaHttpEquiv"} = "<meta http-equiv="refresh" content="$Data{"Refresh"}">"; }> <html> <head> $Data{"MetaHttpEquiv"} <title>$Config{"ProductName"} $QData{"TitleArea"}</title> $Include{"customer-css"} </head> <a name="top"></a> <body> #<!-- start CI layout --> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%" class="header"><img style= width: 454px; height: 109px; "src="/otrs-web/images/Standard/HeaderCropped.jpg"> </td> <td width="100%" class="header" title="www.alliedpensions.com"><a href="http://www.alliedpensions.com"><img border="0" src="/otrs-web/images/Standard/APTLogo.jpg" width="150" height="100"></a></td> </tr> <tr> <td colspan="2"><hr align="left" width="100%" height="2"><!-- end CI layout --><!-- end header --></td></tr></table></body></html> I was wondering if there was a simple way or script out there that anyone knows that can change a picture at a certian time? I am doing a website for a diner and they close at 3:00pm and I was thinking about putting a sign on the website that would simply say "Open" when the diner is open and "Closed" when its obviously closed. Thanks in advanced I'm trying to make a picture button. I have a little so far can you help with the rest. <input type="button" onclick="javascript:alert('Noob, u fell for it!!!')" /> is there a specific one which i should use when making my site? jpeg or gif or any other format? Thanks |