Posts Tagged ‘Web Development’

Random Web Development and Web Designer Tips

More Web Development and Web Designer Tips added every day. Come back Soon...

Close button script.

<a href="javascript:window.close();"><img src="images/but_close.gif" border="0" width="74" height="18" vspace="10" alt="CLOSE"></a>

Some browsers will close only window if it was open as pop-up.

Show text inside search box.

<input onfocus="this.value=''" type="text" value="some text" />
<input onfocus="this.select()" type="text" value="some text" />

This gives the user to amend text that they have put in, without having to rewrite it completely if they go back to the box.

Div left – Div Right.

<div align=”center”>
<div style=”width:70%; float:left;”>
some text on the right

</div>
<div style=”width:29%; float:right;”>

some text on the left

</div>

Advise it to keep it less then 100%  total width.

Frame Kill
Copy this code and paste it between the <head> and </head> tags of your page (after “title”)

  •  

      <SCRIPT TYPE="text/javascript"> 
  • top.location=self.document.location;

    •  
        <!--
        if (top.frames.length!=0)
        // -->
    • </SCRIPT>

     

This code makes your Web page stay in its own full screen window.

http://docs.law.gwu.edu/facweb/claw/Kill’frames.htm
Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogosphere News
  • email
  • LinkedIn
  • MSN Reporter
  • MySpace
  • PDF
  • Reddit
  • Technorati
  • Twitter
  • Twitthis
  • Yahoo! Bookmarks
  • Yahoo! Buzz
  • Add to favorites
  • Bitacoras.com
  • blogtercimlap
  • Diigo
  • Fark