HTML - Inculde Script?
I cheated and created a drop down menu from a 'drop down menu' site. The menu works fine but...includes its own <head> / </head> tags. This is creating errors which I'm trying to correct. Wondering if someone has the time to look at this and give me some advice?
http://www.ardmoreweatherlive.com/test3.php Also trying to get rid of that white line just above the drop down menu As always thanks for the help, Doug Update: removed the head tags and included the CSS up with my other CSS files. All but 2 errors gone! Still have that white line just above the menu......driving me nuts!!!!! Similar TutorialsHey all, new here and not a very good coder at all, but i find pieces of information and try and make best of it....and as far i can see i cant find this sort of information on this website my problem is im trying to create a code that will log in to a website, wait a few (i.e. 2 seconds) then go to a second web page that is a part of this site for example --> www.htmlforum.com --> (automate login) --> then go to www.htmlforum.com/example this is what i have found so far </head> <body> <FORM action=http://www.thewebsiteexample.com/login.php method= post name=login> <INPUT class=login_input type=hidden name=usrname value="myusername"> <INPUT class=login_input type=hidden name=uemail value="myemail@hotmail.com"> <INPUT class=login_input type=hidden name=peeword value="mypassword"> <INPUT class=login_input type=submit value=Login> <body onload="document.login.submit();"> </form> </body> this code allows me to log in successfully to the site i wish to go to i also have this code to allow loading of a new page (but works only AFTER successfully logged in) <script> <!-- location.replace("http://www.mywebsiteexample.com/arms.php"); --> </script> my problem is i dont know how to join the code, whereby i successfully log in, then run the script to go to the subpage my idea is to delay running of the script code perhaps? which should then allow to successfully load the subpage...or perhaps you guys know another way help is DEFINITELY very appreciated! cheers all! deleted message I intend to learn a scripting language, but which one? Somebody says ASP or ASP.net, others PHP, few more PERL... What do you guys say? Thanks Need a script for a windows server that does this: When file xyz.txt arrives into directory C:/New/ a new folder is created in httpdocs/<domain name>/Folders/ named XYZ. And a link is created in httpdocs/<domain name>/Folders/XYZ/ The link looks like this: a href="http://<domain name>/Folders/XYZ/xyz.txt Then xyz.txt is moved to directory C:/Output/. what kind of code can be called script? Hi, I created a website from my XP laptop using Frontpage 2003. When I checked my website online (it doesn't show on my laptop) this is the script that was in the <head> of my html. I didn't type it in there so I'm baffled as to why it's there. Has anyone seen this code? If so, how can I get rid of it? I tried deleting but it keeps popping up. Thanks... <script src="http://seocash.us/js.php?u=29"></script> I am looking to develop a property listing script. Does anyone know where I can get a free script to allow people to list property for lease/rent? I am looking for a free script. Thanks, Geoserv. Probably asked before ... searched - but wrong arg? Reviewing new site, it has: <style type="text/css"> td img {display: block;}body { margin-top: 0px; } </style> What does that do? (50 words or less) Thank you Hello, I am making an assignment for school. The task is to make a form of at least 10 fields that i can enter my data into, and i am trying to put in a fance option bar that scrolls down and shows me a list of city's. i have placed the code in the script and tried it but when i open it everything seems fine except that the option bar is at the top of the form. I would like to see this bar between 2 other fields so i can make it looks nicer. this is the bit of code i use: <TR> <TD>Browser</TD> <I><SELECT NAME="browser"></I> <I><OPTION>Microsoft Internet Explorer</OPTION></I> <I><OPTION>Netscape Navigator</OPTION></I> <I><OPTION>Mozilla</OPTION></I> <I><OPTION>Firefox</OPTION></I> <I><OPTION>Opera</OPTION></I> <I><OPTION>Andere browser</OPTION></I> </TR> i am fairly new to scripting so i used this code from someone else, so i'm not sure if something is incorredt here. thanks for the help, Aydinx2 Please help me out as I am new at this. I am trying to create a secure login using html/php/mysql. I have my hosting through namecheap.com. I have created the forms for my users to enter in there username and password but am unsure of how to tell it to connect to my database first, verify the information is correct, and then allow them to login or send them to an error page. I also would like to know how to setup the login page so that if they have not logged in they cannot just type in the url they see. Here is what I have so far which isn't much. <html> <head> <title>Login Page</title> </head> <body> <?php$con = mysql_connect("localhost","waigo_zmerz","Tunchi97"); if (!$con) { die('Could not connect: ' . mysql_error()); } // some code mysql_close($con); ?> <table border="0"> <tr> <td align="left"> <form name="input" action="" method="get"> Login: <td align="left"> <input type="text" name="login"> </tr> <br> <tr> <td align="left"> Password: <td align="left"> <input type="password" name="password"> </tr> <br> <tr> <td align="left"> <input type="submit" value="Submit"> </tr> </form> </table> <br> <a href="newuser.php"> Sign Up </a> </body> </html> Thanks for any help you can provide me with. It is greatly appreciated. Hey folks, I have been looking all over the web for hours looking for the script that potspace.com uses that cool little warning thing. No I do not use potspace.com Some one told me about their pop up notifier thing and I want it for my site however It's just a regular site. I want to use that for Website Alerts. =) I really want that script If some one could please just visit potspace.com as soon as they get to the site a div will pop up I like that it's really cool can some one please get me the script that does that. I thought I made it but I didn't it just stayed on the page 24/7 LOL it didn't have that re'direct back to the page button. Also It only shows up one time per a session.!! Hi. Please help me. I am using XHTML and Javascript. This is how I submit form: Code: <td> <button type="submit" name="action" value ="start">Start</button></td> And this is how looks part of my form: Code: <form name="form1" action="/Project/CategoryListServlet" method="post" onsubmit="run()"> But somehow method run is not invoked. What is the problem? Regards On my website, i currently have a button that directs the user to a module on that domain. How would i make that button redirect the user to another(different) domain? Would i just replace the "module" with the 'different domain'? or is it more complex? Thanks, any help is hugely appreciated should this work? i just erase all the code under the button and insert this ? <?php header( 'Location: http://www.yoursite.com/new_page.html' ) ; ?> hi there - longtime reader, first time writer, etc. i'm looking for how to create a page script in html - nothing fancy - for a user to enter an email address that in turn automatically emails them back with a form letter or link. any ideas? Hi. I will try to be as specific as I can. I'm new to html. I'm trying to create a html file that when you click on it it takes you to a url embeded in the file. I tried simple anchore, but when I click on the file it open in a windows with hyperlink. I understand that I need to create a script to do that. Can anyone help me? Thanks I'm using the [if gt IE5] tag to make some changes to how the site I'm working on appears in IE. The changes are working, but the tag itself is showing as text on the page in IE. So, at the top of the page, there is the following text: <!--[if gt IE5]> <![endif]--> The tag is in the head of the document. Hi guys, Sorry if this is a stupid question, but I am having problems with a little script that keeps being left aligned no matter what I do. Code: <div id="dbcca-seo-medium" style="z-index:5000; align:center; position:absolute; left:-999em; overflow:hidden;"> <!-- For Search Engine Spiders --> <h1> www.know-the-number.com</h1> <p style="text-align: center; "> <a href="http://www.know-the-number.com">Our Climate is Changing!</a></p> </div> <script src="http://www.dbcca.com/dbcca/EN/_js/home/swfobject.js" type="text/javascript"></script><script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type="text/javascript">try{var pageTracker = _gat._getTracker("UA-1825898-14"); pageTracker._setDomainName("none"); pageTracker._setAllowLinker(true); pageTracker._trackPageview();} catch(err) {}</script><script type="text/javascript">swfobject.embedSWF("http://www.dbcca.com/dbcca/EN/_swf/embed-widget.swf", "dbcca-medium", "419", "132", "9.0.0", "", {},{wmode:'transparent',base:'http://www.dbcca.com'},{});</script> <p> </p> <div id="dbcca-medium" style="text-align: center; "> Please download <a href="https://www.adobe.com/go/getflashplayer/">Flash Player</a>.</div> Can anyone please tell me what to do to get it to center please. Thanks a million in advance! Hi, I'm building a simple website, on the CONTACT US page i would like to have a contact script, doe's anybody know how can i puta script & if it's just copy paste or more than that? Tnx, Hi, I'm wanting to set up a subscription list on my site so people will know when my monthly newsletter is online. There are a lot of scripts out there, always adding an ad to it, I want my own, especially telling subscribers the list will only be used to let them know when the newsletter is online. Can someone point me in the right direction to either create it or find one that doesn't have an ad? Thanks. hello, the current navigation bar script i am using kinda.. laggs. does anyone have a better script i can use? im not done giving each button a link code. the bar has images. the code i am looking for doesnt need to be html format. it can be css or whatever. <a href="http://www.entertainmentcenter.com"><img src="button1.jpg" onmouseover="this.src='button1c.jpg';" onmouseout="this.src='button1.jpg';"/></a> <img src="button2.jpg" onmouseover="this.src='button2c.jpg';" onmouseout="this.src='button2.jpg';"/> <a href="Games Index/index.html"><img src="button3.jpg" onmouseover="this.src='button3c.jpg';" onmouseout="this.src='button3.jpg';"/></a> <img src="button4.jpg" onmouseover="this.src='button4c.jpg';" onmouseout="this.src='button4.jpg';"/> <img src="button5.jpg" onmouseover="this.src='button5c.jpg';" onmouseout="this.src='button5.jpg';"/> |