The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Javascript syntax
Christian J
post Sep 20 2006, 04:50 AM
Post #1


.
********

Group: WDG Moderators
Posts: 9,682
Joined: 10-August 06
Member No.: 7



In another topic this iframe script was mentioned: http://www.phpmix.org/iframe_height_auto_r...resize_the_code

Some of its syntax looks unfamiliar to me. What is it called, and could someone explain it?

Example 1:

CODE
var DYNIFS = {
    // Storage for known IFrames.
    iframes: {},
    // Here we save any previously installed onresize handler.
    oldresize: null,
    
    ...etc


Example 2:

CODE
onresize: function() {
    ...etc
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 8th June 2024 - 04:50 AM