Jump to content

tantachar07

Banned
  • Posts

    47
  • Joined

  • Last visited

Posts posted by tantachar07

  1. I need to have my template's image onmouseovere'd. Code:

    <!--forum template--><html><head><!--CSS content--><style type="text/css">body{background-color: #000000;}h1 {color: chartreuse}h2 {color: white}h3 {color: white}h4 {color: white}h5 {color: white}h6 {color: white}div.class4{border-style: inset;border-bottom-color: #9900CC;border-top-color: #9900CC;width: 100%;}</style><!-- End CSS content--></head><body><p>  <!--banner-->  <img border="2" onmouseover="width="103%"" src="http://i125.photobucket.com/albums/p42/hns_marcon/72.jpg" width="734" height="127"><!--End banner--><br><h1 align="center">Page title</h1><div align="center">  <p><!--Taken from [url="http://photobucket.com-->"]http://photobucket.com-->[/url]  <a href=""><img src="http://i125.photobucket.com/albums/p42/hns_marcon/54.jpg" width="74" height="31"></a>  <a href="">  <img src="http://i125.photobucket.com/albums/p42/hns_marcon/54.jpg" width="74" height="31"></a>  <a href=""><img src="http://i125.photobucket.com/albums/p42/hns_marcon/54.jpg" width="74" height="31"></a>  <a href=""><img src="http://i125.photobucket.com/albums/p42/hns_marcon/54.jpg" width="74" height="31"> </a>  <a href=""><img src="http://i125.photobucket.com/albums/p42/hns_marcon/54.jpg" width="74" height="31"></a></p>  <!--End taken--></div><br><br><fieldset color="red"><form>  <h4>Username     <input name="Username" type="text" maxlength="20">  </h4>  <h4>password    <input name="Password" type="password" maxlength="20">    <br>    <br>	<input type="submit" value="submit">  </h4></form></fieldset><br><br><div class="class4" align="justify">  <h4 >Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br>Content here. Content here. Content here. Content here. Content here. Content here.<br></h4></div><hr color="#CC6666"><h5><div align="center"> ©*Your company*</div></h5></body></html>

  2. You should post this in the Javascript forum

    that won't really help him. the above code from paramasivan is javascript (obviouslly) but if you were to place that on your page, it will open the window as you load up the page. the easiest way to have a link open a new window is:
    <a target="_blank" href="link_url">link text</a>

    if you want to customize the new window (ie. specify the height, width, position, etc.) you will want to use java script: http://www.w3schools.com/js/tryit.asp?file...s_openallwindow

    The url was: http://www.w3schools.com/js/tryit.asp?file...s_openallwindowWhen I tried to edit the "width" and the "height", I clicked on the popup again and the size didn't change.
  3. I made a new template . . . the code goes here . . .

    <html><head><style type="text/css">body{background-image: url('http://i125.photobucket.com/albums/p42/hns_marcon/17.jpg');background-repeat: no-repeat;background-attachment: fixed}a.one:link {color: blue; text-decoration: none}a.one:visited {color: violet; text-decoration: none}a.one:hover {background: 931423;; text-decoration: underline}a.one:active {color: #00FF00}</style><title></title></head><body><font face="verdana" size="7" color="#00FF00">  <b>  <a name="1">Page title</a></b></font><br /><strong><font color="#000000" size="1" face="verdana"><hr color="#00FF66"/>Vice Header here</center> <br />   <script language="javascript">document.write("Currently used browser:"+navigator.appname+" ")</script><hr color="#00FF66"/></font></strong><table width="526" height="308" border="1" cellpadding="14"  bordercolor="#FF0000">  <tr>	<td width="197"><font face="verdana" size="1"><b>Images/Iframes/etc . . . </b></font></td>  </tr></table><font face="verdana" size="1"><b><div align="center">© *Company title* 2005-2006</div></b></font></body></html>

    Just paste this in notepad and save it as .htm or .html

  4. Hello Everyone,I think I am missing a trick with HTML checkboxes and tables and I hope someone out there can put me on the right track.I am writing a simple HTA application that will query MS Active Directory for all users who have not logged on for a given period of time, and will return their name and last logon date to an HTML table, hence the post to this forum.I have written the code for that and all is well with the world.My problem is that I would like to include a checkbox in each resulting table row, allowing the row (user) to be 'selected'. Again I can add in the checkbox easily enough, but here comes the rub.Each checkbox will have an onclick="DoSomething" that will fire a sub routine to add/remove the user from an array/dictionary (haven't decided that bit yet), so my problem is, how can I give each checkbox a unique ID/Name, as the table is built dynamically and the contents will vary, and be able to check which row(s) have been selected?The script below is shows the sort of thing I am trying to achieve, and builds a simple table from a csv.txt file using an MS office control (I am using this as a proof of concept before stitching it into the main code).
    <html><head><script language=vbscript>sub GetInfo' Add user to dictionary or somethingend sub</script>        </head><BODY><!-- Use MS Office Control to build table from CSV text file for testing--><OBJECT id="TableList" CLASSID="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83"> <PARAM NAME="DataURL" VALUE="d:\development\lastlogon\UserList.csv"> <PARAM NAME="UseHeader" VALUE="True"> <PARAM NAME="TextQualifier" VALUE=","></OBJECT><H2>Last Logon Report Test App</H2><table border='1' width='100%' cellspacing='0' datasrc=#TableList><THEAD><TR><td style="width: 55px">Select</td><TD>Name</TD><TD>Created</TD><TD>Last Logon</TD></TR></THEAD><TBODY><TR><!-- Need to figure out how to dynamically name this check box--><TD style="width: 55px"><input type="checkbox" onclick="getinfo" id="chk1"}/></TD><TD><B><DIV datafld="Name"></DIV></B></TD><TD><DIV datafld="Created"></DIV></TD><TD><DIV datafld="Last Logon"></DIV></TD></TR></TBODY></TABLE></BODY>

    I hope someone out there can help, as this was supposed to be the easy bit that I left till last.-RedRobbo-

    Sub is A vb property. Do not use this in JS.
  5. Not sure where to post this, I was running the example athttp://w3schools.com/aspnet/showasp.asp?fi...=demo_htmltableand received the following errorServer Error in '/' Application.-------------------------------------------------------------------------------- Runtime ErrorDescription: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".< !-- Web.Config Configuration File -- >< configuration > < system.web > < customErrors mode="Off"/ > < /system.web >< /configuration >Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's < customErrors > configuration tag to point to a custom error page URL.< !-- Web.Config Configuration File -- >< configuration > < system.web > < customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/ > < /system.web >< /configuration >
    Sometimes it's not like that. It even loses the asp of the inputs. ASP is not usually used . . .
  6. What we like . . . is of course . . . THOSE ONES WITH HTML EDITORS :)Everyone likes html editors because it supports some things that they don't know that we don't . . . Example isDreamweaverDreamweaver shows the generated html editor (Not read-only, w/ edit 2!) and it has some things that windows doesn't know, and so we are up for browsers with HTML editors

  7. I want to erase the position-absolute at CSS because it is helpless. Instead, I suggested a code. . . Uses the div tag still . . .(A text): (Neither be CSS or HTML)

    <div horizontal-align="25px left"></div>

    If you wanted to have a text diagonal, this is my suggestion:

    <div align="diagonal; 34px left;"></div>

    If you wanted to make your page up-to-down words, my suggestion is:

    <bdo dir="up-to-down"></bdo>

    Javascript aligns: (note: these are in the body tags)

    <script language="javascript"><!-- text-align: centerdocument.write("bla-bla-bla")//--></script>

    Please reply if there are any corrections . . .

  8. I was just thinking that it would be cool to add highlighters to the forum, for when we use code /code. Like CONtext and other text editors have. That way when someone is posting a code snippet, they could do this...code=php/html/css..etc /codeAnd when the code is put into the codebox, the forum automatically highlights it based on its type. I only have a vague idea of how this would be done, but I'm sure someone who knows a lot more about Invision Power Boards could figure it out. Anyway, it's just a random suggestion.
    Instead of this, we should "select" the "link-hover" for our own option :)
  9. Not sure this is the appropriate place for this post but I felt I needed to express my appreciation on what you do here. What you all are doing here is very awesome. Being a self taught programmer I wish that this info was available when I was struggling through book after book. Also there are many areas that I have struggled in and I can't tell you how efficient this site has been helping me along. Thanks again for all you guys do. Count on me to do my part and help W3Schools in any manner that I can.
    Having a book is nice, since in internet we still need to load every page while making a tutor W3School book is nice because just 1 second you can switch from every page to another . . . Good suggestion :)
  10. Was wondering what the URL syntax would look like... I have a page/form that has a few text fields, and want to be able to click on a link that calls up the page and autofills the text fields. Should be pretty easy, just that I'm at a loss. Thanks
    This is ASP. This is used for making forms functional.
  11. <style type="text/css">body{background-image:url('http://i125.photobucket.com/albums/p42/hns_marcon/1.jpg');background-repeat:no-repeat;background-attachment:fixed}</style>[code]
  12. The code shown in the Tryit was this:

    <style type="text/css">body {background-image: url('smiley.gif');background-repeat: no-repeat;background-attachment: fixed}</style>

    And when I did it myself (Of course w/ a different image) It didn't work. I put it between my head tags though. . .

  13. These are my probs:

    • I need to have more than 2 links randomly, in the "tryit" I never fount anything when I did 3 in the "else" statement
    • Can I put img src's through js?

  14. Hi,I am doing this site for a maritime organization.It's not completed as yet--> It's just 5 days of work so far.CLICK HERE FOR THE SITEAnyway- I just wanted to hear what you think of it so far.Don't try to soften the blows- just yell it out!Any suggestions, comments, critiques?ps- This is actually my first professional site, so i neeeed to impress! (I was asked- so why turn it down? :) )thx
    Nice website :)
  15. Hey guys what’s the code for html to change link color exemple : when you get over the link it changes colorthanks for the answer : mind-owner
    This is the code newb!!!Paste this between your head tags . . . in the "href" you just type the reg. one (This is CSS)
    <style type="text/css">a:link {color: blue}a:visited {color: red}a:hover {color: yellow}a:active {color: green}</style>

    note that in the color hover, you can type by: RGB(0,0,0), hex-a-decimal(#FFFFFF), or name(blue)You need a lot of support noob!!!

×
×
  • Create New...