Troy III 272 Posting Pro
<SCRIPT language="javascript" type="text/javascript">

function swapImage(image) {
	var Map = (document.getElementById) ? document.getElementById('MapWest') : (document.images) ? document.images['MapWest'] : (document.all) ? document.all['MapWest'] : null;
	if(Map) Map.src = image;
	}
	
</SCRIPT>

Try to correct that one into this:
<SCRIPT type="text/javascript">

function swapImage(image) {
var Map = document.getElementById('MapWest') ||document.images|| MapWest||null;
if(Map) Map.src = image;


alert(Map) //tell us what is the value of this alert please.

}

</SCRIPT>
...because "Language" attribute for the script tag has been deprecated, and using them both (language and type) may cause problems. In case it worked - it might force the browser to use JavaScript v.1.0 mode engine (although I'm sure JS1.0 should be able to interpret your code) but depending on a browser may happen to drop it completely.

Troy III 272 Posting Pro

Here,

First thing you should do is to remove your script from HTML element and place it somewhere before HEADER element closure.

Second:
Something on the right should follow something on its left, not the opposite, this adds confusion.
Put your HTML back to its normal order of its rendering flow, like this:

<DIV class=body>

 <DIV class=bodyTxt>
  <DIV class=bodyTxtInner>
	<H1>HOME</H1>
	<P>Gary Jones and Rick Taylor are the owner/operators (under the direct 
	supervision of their wives Janice and Carol) of the 
	<SPAN class=yellow><STRONG>
	Cypress Hill Winery</STRONG></SPAN>.
	 The current location 
	was opened in June, 2009.</P>
	<P>This small urban winery is in the lower level of an old sandstone and brick 
	building located in the downtown Carrousel District of Mansfield, OH. This is a 
	true wine cellar where the tasting room is situated in the midst of a working 
	winery. The exposed stone walls, the oak wine barrels and the rustic 
	surroundings all contribute to the ambiance and relaxing atmosphere. 
	</P>
  </DIV>
 </DIV>

 <DIV class=floatyImg>
  <IMG height=362 src="images/hompageImages.png" width=400>
 </DIV>

</DIV>

So you won't need the "z-index" anymore.

Third, - the CSS:

.body {
	background: url("images/BG.png"); 
	overflow: auto; 
	width: 100%; 
	height: 379px; }

.bodyTxt {
	padding: 5px 0 5px 10px;
	background: url("images/bodyBg.png"); 
	width: 400px; 
	color: #fff; 
	-moz-border-radius: 20px; 
	-webkit-border-radius: 20px;
	position: absolute;
	margin:10px; /* optional */}

.floatyImg {
	float: right;
	width: 400px; 
	position: relative;
	margin-right: 20px; }

.bodyTxtInner {
	padding: 0 0 0 15px; /* optional */
	width: 265px }

additionally

.separator {
	background: url("images/separator.png"); …
Troy III 272 Posting Pro

You should correct your HTML errors first

Troy III 272 Posting Pro

stay away from that site and block them.

few notes on interclick.com
http://google.com/safebrowsing/diagnostic?site=interclick.com/

i suggest you block these addresses:
www.interclick.com
a1.interclick.com
campaigns.interclick.com
ad.interclick.com

there should be more ....

stvrich commented: helped confirm my own feelings on this, tanx +1
Troy III 272 Posting Pro

OK leave everything else as is and since you know some javascripting, than
I suggest you use the browser address-bar for data persistence!
:)

get the "full name" variable and append it to the location string of the following page using "?" mark i front.

than from the following page you will be able to extract the data passed to url after the ? mark, with ease.

Troy III 272 Posting Pro

how much data are you trying to pas to the folowing page?
-cause if it's only a Name and/or Surname, you won't be needing 'php', 'cookies' or similar ...

Troy III 272 Posting Pro

Ordinary html elements are supposed to cascade, therefore they don't comply to "valign" or "vertical-aligng" css instruction statements.

There are hacks but, they spoil compatibility.

some quick solution would be to use positioning of the link container:

position: absolute;
bottom: 0px;

Otherwise I strongly suggest - you use TABLES. :D

p.s.:
in some browsers you could convert dhe container element to a 'table' or 'table-cell' through css-display-property - but thats not widely supported either.

Troy III 272 Posting Pro

Than, please send us the code of your dragImage function so we can see.

Troy III 272 Posting Pro

Hello Shanti, theImage.offsetTop and theImage.offsetLeft will give you the values you need to display to your user.
Than you can chose where you like to display them.
most probably in: window.status = theImage.offsetTop +" : " + theImage.offsetLeft p.s.:
For the values to get dynamically updated, you should use it inside your imagedrag function.

Regards.

Troy III 272 Posting Pro

Change "Save as type" from "Text Documents (*.txt)" to "All Files" and in "File Name" type name with css file extention like styles.css. Always work for me...

The above, is the correct answer.

You can always determine the desired file type with "SaveAs" command; choose File Type: "All Files", and save it as whatever txt-file format you like including .csv; .js; .css; .htm; .html; .php;...; etc, etc...

Regards

Troy III 272 Posting Pro

Yeah that's also a system precaution measure...
I haven't been using this functionality for about 6-7 years now.
I'm not sure,
try ExcelSheet.SaveAs("D:\\TEST.XLS"); , that might supress the confirmation. Or simply close the document with quit command.

Troy III 272 Posting Pro

try this site (http://layouts.ironmyers.com, might help you alot.

Grantmitch1 commented: Awesome +1
Troy III 272 Posting Pro

You can't supress it because it's a System alert! You are overwriting an existing file.

Try: ExcelSheet.Workbooks.Open("D:\\TEST.XLS", 2, true);

Troy III 272 Posting Pro

They're using area maps and image holder for at least 36-50 pictures depending on example viewed.
The mouseover event on area to bring up the corresponding image frame. But the animation uses some script obviously.

I believe there must be some other way to compensate for this great number of areas defined.

But this method must be no - script compatible and should work with javascript disabled browsers too.

[sorry it doesn't!]

But I'm 198% positive it can be made to work without JavaScript also.

regards

Troy III 272 Posting Pro

I guess that my statement:

This thread should have been marked as solved by MidiMagic by now.

was not well-formed and can be interpereted incorrectly.

To avoid confusion, I should have used quotes like in:
This thread should have been marked as "solved by MidiMagic" by now.

Meaning:
thread Status = "solved";
solution Author = "MidiMagic";
marker ID = "";
----------------
Marker ID vas not defined.
Regards.

Troy III 272 Posting Pro

This thread should have been marked as solved by MidiMagic by now.

Troy III 272 Posting Pro

You're wellcome. Thanks for additional info in your repply.

Regards.

Troy III 272 Posting Pro

Well djMot,
try this stupid solution than:

window.open
     (	"http://www.girlsrockradio.com/minisite.php", 
	"Girls_Rock_Radio_MiniSite", 
	"height=330,width=640,location=1" )

Regards.

Troy III 272 Posting Pro

Sorry, I thought you knew.
-Simply replace your existing init function with this one.

(It is located in the head of your document, right after your inclusion of miniscroll and dylayer external script files, and before your style definitions, that is between them two in the header of your main html document).

Cheers.

Troy III 272 Posting Pro

Please try:

<!--
function init() {
        DynLayerInit()        
	myscroll = new MiniScroll("scrollWindowDiv", "scrollContentDiv")
}
//-->

Regards

Troy III 272 Posting Pro

At the top of code u can see function clicked()

I was asking about the: "function CALL".
The thing you are pointing to, is a "function DEFINITION"

This is the same as if you've spent a lot of money to make some party, but you never invited anyone. Everything you bought is lying there unused while wondering why the party is somehow never happening.

Cheers.

Troy III 272 Posting Pro
function clicked()
    {
  
                  var arrmsg = new Array(3);

                                      for(j=0;j<3;j++)
                                          {   
                                               arrmsg[j]="";
                                           }
                 var arrelement = new Array(5);

                                       for(j=0;j<3;j++)
                                         {
                                              arrelement[j] = new Array(2);
                                         }
                    arrelement[0][0] = 'txtname';
                    arrelement[0][1] = 'text';
                    arrelement[1][0] = 'ddldrop';
                    arrelement[1][1] = 'drop';
                    arrelement[2][0] = 'txtemail';
                    arrelement[2][1] = 'email'; 
                    
                    // var flag=false;
                                          for(i=0;i<3;i++)
                                                 { 
                                                  var flag=false;                
                                                     if(arrelement[i][1] == "text")
                                                          { 
                                                              if(checkblank(arrelement[i][0]))
                                                                   {  
                                                                      arrmsg[i] = arrelement[i][0]+"" +"can not be blank";
                                                                      var imgerr=document.getElementById("imgerr"+(i+1));
                                                                      imgerr.style.display="block";
                                                                      var imgcor=document.getElementById("imgcor"+(i+1));
                                                                      imgcor.style.display="none";
                                                                      var lbl=document.getElementById("lblerr"+(i+1));
                                                                      lbl.style.visibility="visible"; 
                                                                      flag= true;
                                                                   }
                                                               else
                                                                   { 
                                                                  
                                                                      var imgerr=document.getElementById("imgerr"+(i+1));
                                                                      imgerr.style.display="none";
                                                                      var imgcor=document.getElementById("imgcor"+(i+1));
                                                                      imgcor.style.display="block";
                                                                      var lbl=document.getElementById("lblerr"+(i+1));
                                                                      lbl.style.visibility="hidden";
                                                                      flag=false;
                                                                   }
                                                          }
                                                   if(arrelement[i][1] == "drop")
                                                         { 
                                                                if(checkdrop(arrelement[i][0]))
                                                                 {   
                                                                    var imgerr=document.getElementById("imgerr"+(i+1));
                                                                    imgerr.style.display="block";
                                                                    var imgcor=document.getElementById("imgcor"+(i+1));
                                                                    imgcor.style.display="none";
                                                                    var lbl=document.getElementById("lblerr"+(i+1));
                                                                    lbl.style.visibility="visible";
                                                                    flag= true;
                                                                 }
                                                              else
                                                                {    
                                                                      var imgerr=document.getElementById("imgerr"+(i+1));
                                                                      imgerr.style.display="none";
                                                                      var imgcor=document.getElementById("imgcor"+(i+1));
                                                                      imgcor.style.display="block";
                                                                      var lbl=document.getElementById("lblerr"+(i+1));
                                                                      lbl.style.visibility="hidden";
                                                                      flag=false; 
                                                                }
                                                         }
                                                   if(arrelement[i][1] == "email")
                                                         { 
                                                                if(checkblank(arrelement[i][0]))
                                                                 {  
                                                                      var imgerr=document.getElementById("imgerr"+(i+1));
                                                                      imgerr.style.display="block";
                                                                      var imgcor=document.getElementById("imgcor"+(i+1));
                                                                      imgcor.style.display="none";
                                                                      var lbl=document.getElementById("lblerr"+(i+1));
                                                                      lbl.innerHTML ="Please enter email";
                                                                      lbl.style.visibility="visible";
                                                                      flag= true;
                                                                 }
                                                                else
                                                                 {
                                                                    if(checkemail(arrelement[i][0]))
                                                                        {
                                                                           var imgerr=document.getElementById("imgerr"+(i+1));
                                                                           imgerr.style.display="block";
                                                                           var imgcor=document.getElementById("imgcor"+(i+1));
                                                                           imgcor.style.display="none";
                                                                           var lbl=document.getElementById("lblerr"+(i+1));
                                                                           lbl.innerHTML ="Invalid Email ID";
                                                                           lbl.style.visibility="visible";
                                                                           flag= true;
                                                                          
                                                                        }
                                                                     else
                                                                         {
                                                                            
                                                                           var imgerr=document.getElementById("imgerr"+(i+1));
                                                                           imgerr.style.display="none";
                                                                           var imgcor=document.getElementById("imgcor"+(i+1));
                                                                           imgcor.style.display="block";
                                                                           var lbl=document.getElementById("lblerr"+(i+1));
                                                                           lbl.style.visibility="hidden";
                                                                           flag=false;
                                                                          }
                                                                  }
                          
                      
                                                           }

                                             }
              
                      if(flag==false)
                              {
                                 
                                  return true;
                              }
                          else
                             {
                                return false;
                             }
     
     }
 function checkblank(field)
    { 
           if(document.getElementById(field).value == "")
                  
              return true;
           else
              return false;
    }
    function checkdrop(field)
    {
        if(document.getElementById(field).value == "Select")
                  return true;
           else
              return false;
    }
    function checkemail(field)
    {
      mi=document.getElementById(field).value; 

	if(mi > "")
	{
		var temp=new Array();
		temp=mi.split('@');
		if(temp.length > 2)
		{
//		alert("Invalid Email Address");
		return true;
		}
		if(mi.indexOf("@")==-1 || mi.indexOf(".") == -1)
		{
//		alert("Invalid Email Id");
		return true;
		} …
Troy III 272 Posting Pro

Try this:

<html>
<head>
<title>swapimage</title>
</head>
<script>
var arr=["C:\\Documents and Settings\\Mohan Krishna\\Desktop\\ku20.gif","C:\\Documents and Settings\\Mohan Krishna\\Desktop\\b30.gif","C:\\Documents and Settings\\Mohan Krishna\\Desktop\\goku12.gif"];
i=0;
function swap()
{
document.images[0].src=arr[i];
i++;
if(i==3)
i=0;
setTimeOut("swap()",5000);
}

swap();
</script>
<body bgcolor="white">
<marquee behaviour="alternate" direction="left"><img src="C:\\Documents and Settings\\Mohan Krishna\\Desktop\\UNUSED DESKTOP ITEMS\\batman5.gif" onClick=swap()>
</marquee>
</body>
</html>

This is JavaScript, remenber?
p.s.: you don't need "onclick" event since your swaper has a timer.
Regards.

Troy III 272 Posting Pro

You will need to check, or call the check functions associated with individual "onblur" to the "onsubmit" event on the collection.
For example:

<form (...etc...) onsubmit="return yourFinalCheckFunction()">

regards.

Troy III 272 Posting Pro

I think that "load/unload" the document is the only appropriate notion to use in situations when:
1. user is closing the current page [ap dependable op] currently associated with ap. close;
2. the user is loading [as a final step of download, cache, parse, render procedure] a New Page in the same docked browser window (called browser tab while in fact being just another instance of an independent dock-able browser window), causing the previous page to be unloaded from active memory and free the space previously taken by its content.
3. Moving back and forth the browser history, inside the same tab/docked window, should be considered as load/unload process, -moreover, this action should factually cause the page to get "loaded/unloaded" from active memory, snce it already exists in a browser cache and there is absolutely no practical reason to leave it "eat" your system resources as last generation browsers do.

This undoubtedly means that: if the user closed the page he was on (although I don't know if there is such browser providing that option), opened another page in the same window/browser tab, navigated back and forth, should all actually carry out the task, to unload/load content, while, same time triggering corresponding events. But I think that browser close should be discerned from document close which is an equivalent of page unload, but this two different actions/events have in practice, the same meaning for the page content therefore right now it is unnecessary to discern. Although …

Troy III 272 Posting Pro

Thanks a lot Friend

very good than,
- fifufifu
you should consider closing or marking this topic as solved.

Troy III 272 Posting Pro

The standard doesn't well indicate whether onunload should be called when a browser window is closed, or if the browser is closed, or when the page is changed. It says:

Standards ?!
"Browser window" meaning "a browser".
The so called "Standards" don't indicate if internet should exist at all neither, but it exists.

W3C Event Model Specification for 'onunload' : "The onunload event occurs when the user agent removes a document from a window or frame. This attribute may be used with BODY and FRAMESET elements."

Since techincally, the document is never in a window or frame ( it's on a server silly! ) there's no real necessity to implement onunload, or onload >_>

On top of a sillynes of W3C using the word "remove" the document from the window..., when the correct word is "unloading" the document from the window, (that is: the window of interpreter application for particular document equipped with browsing capability) and you
saying that the "document is on the server" is more than wrong . Because if it was possible to view documents residing on a server without downloading them first - we would be surfing the net with the speed of light. Wouldn't we?!

You are somehow managing to ignore the fact that it's impossible for the page to get rendered and displayed before it gets cached. So practically, technically theoretically or whatever, - that statement is false. Because the page is loaded on the browser and that, smart browser …

Troy III 272 Posting Pro

Even if you could do that, Firefox closes so quickly that nobody could read it.

If somebody clicks the X, they want to close the program now. They don't want it to do any more.

If IE can do it, it is because IE has a nonstandard extension to web code. Never use nonstandard code.

Such a nonsense!@
What a demagogy, hahahaha

Troy III 272 Posting Pro

It is posible that the problem you are facing is in relation to your "onloadScrollWidget=window.onload;"
statement.

Have you tried to alert the "onloadScrollWidget" after that line and see what gets displayed?

Try comment all the script that mentions onloadScrollWidget

that are :
//if(onloadScrollWidget) onloadScrollWidget(); and
//onloadScrollWidget=window.onload;

and see what happens...