Quantcast
Sign Up For Our Newsletter
Email:

I4C

Useful java scripts for your web page

advertisement




There are several Java scripts that will be useful to you. Using those scripts will require using Dreamweaver to display the HTML code that Dreamweaver writes in the background. To display that code, there are three important buttons on the Dreamweaver toolbar.

Show Code View - This displays only the HTML code of your page. The advantage of this view is that you can see the head of your page, not just the body. The head of your page is where you will be pasting the Javascript.
Show Code and Design Views - This display a split screen view with the HTML view on the top and the page you are designing on the bottom. The advantage of this view is that a selected item on your design page will also be selected in the HTML.
Show Design View - This displays only the design of your page.


Useful Scripts

Making your web page exit a frame - Some pages are written using frames. Links to other pages will cause them to open within the frame. If your page is one of those displayed in the frame it will not be displayed on the full screen.

If your page is in a similar frame and you want it to pop out of the frame, copy the five lines below and paste them into the head of your web page. Don't paste it into the middle of another line. To see an example, view the page source of this page. You may copy the lines below or from the head of this page as you view the page source code.

<SCRIPT LANGUAGE="JavaScript">

<!--

if (window != top) top.location.href = location.href;

// -->

</SCRIPT>

Java Script Links

  • April's A1 Javascript™ Resources . April helps provide brains and beauty to any web site with functional Javascript, and cool effects. She lists over 300 free cut and paste scripts! Caution! Don't try to use all 300 on the same page. :-)
  • Doc Javascript has been offering scripts since 1997.
  • HTML Goodies - 30 Steps that make Javascript fun to learn
  • Java Botique - Free Java applets, games, programming tutorials and downloads.
  • Javascript Source is an excellent Javascript resource with tons of "copy and paste" Javascript examples for your web pages. All for free!
  • Mary Malinconico of LaSalle University, presented a session on Javascript at the Connected Classroom conference in Chicago in February of 2000. Her page lists some neat scripts to copy and paste. [This expired link is available through the Wayback Machine Internet Archive. If the page doesn't load quickly click on Impatient? at the bottom right of the page.]
  • WebDeveloper.com offers canned scripts as well as tips and tricks

Internet4classrooms is a collaborative effort by Susan Brooks and Bill Byles.
 

  

advertisement

advertisement

Use of this Web site constitutes acceptance of our Terms of Service and Privacy Policy

269102446 US 1 desktop not tablet not iPad device-width