chrometweaks.org

Which is the best iPage web hosting company for my e-commerce business?

Click Here To View All Answers...


My first question is Which is the best iPage web hosting company for my e-commerce business? Many thanks for any response. My 2nd question... I know that these questions have been asked before and I am going to be looking through all the posts to see if I can come up with an answer but if you wouldn't mind again....

Concerning.

Http://www.klokeconsulting.com.

1. How can I get the pages coming from the buttons targeted into the "coming soon" cell when using the table format?.

2. I know that the above question can be solved by using frames, however, when I resize the window the "coming soon" frame will block out the buttons frame. Is there any way I can make the "button" frame not be hidden or make the "coming soon" frame stationary?.

3 when using the table format in NS there is still spacing between the cells even though I have tried to set everything to 0. how do I get rid of that..

Once again Hello to the board and I know I will be using it a lot..

Kloke.

- There can't be good living where there is not good drinking..

Comments (4)

Hmm... I need to find out myself. I don't know what is the answer. I'll do some research in Google and get back to you if I got an anything. You should email the people at iPage as they probably can help you..

Comment #1

If your going to use DreamWeaver, set it up to pre-load images. When you go for a rollover, the page makes a call to the url for the image...

Comment #2

Scoutt's approach is sensible - that's how vortex-webdesign does it. If you want a dynamic solution, you can use a combination of <iframe>s (Internet Explorer/Netscape 6) and Layers (Netscape 4) to good effect. This gives you some - not all - of the advantages of a frameset without the drawbacks. Frames will be dead soon enough, and more sophisticated methods of content management - all on.

One.

Page! - will eventually be the norm. For now:.

<html>.

<head>.

<title>KLOKE Consulting</title>.

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">.

<script language="JavaScript">.

<!.

Var doAll = (document.all != null);.

Function getCell(id) {.

If (doAll) {.

Return document.all(id);.

} else {.

Return document.layers['NS'+id].document.inner;.

}.

}.

Function checkIFrame(destID) {.

Var iframe = document.frames[destID+'target'];.

If (iframe == null) {.

Document.body.insertAdjacentHTML('beforeEnd',.

'<iframe style="display:none;" name="' + destID + 'target" src=""></iframe>');.

Iframe = document.frames[destID+'target'];.

}.

Return iframe;.

}.

Function unclipParent(el) {.

El.parentLayer.clip.width = el.clip.width;.

El.parentLayer.clip.height = el.clip.height;.

}.

Function updateContents(destID, src) {.

Var el = getCell(destID);.

If (doAll) {.

DestFrame = checkIFrame(destID).

DestFrame.location.href = src.

SetTimeout('pollIFrame("'+destID+'")',200);.

} else {.

El.src = src;.

}.

}.

Function pollIFrame(destID) {.

Var destFrame = checkIFrame(destID);.

If (destFrame.document.readyState == 'complete') {.

Var el = getCell(destID);.

El.innerHTML = destFrame.document.body.innerHTML;.

} else {.

SetTimeout('pollIFrame("'+destID+'")',200);.

}.

}.

Function MM_swapImgRestore() { //v3.0.

Var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;.

}.

Function MM_preloadImages() { //v3.0.

Var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();.

Var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++).

If (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}.

}.

Function MM_findObj(n, d) { //v4.0.

Var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {.

D=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}.

If(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];.

For(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);.

If(!x && document.getElementById) x=document.getElementById(n); return x;.

}.

Function MM_swapImage() { //v3.0.

Var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3).

If ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}.

}.

//>.

</script>.

</head>.

<body bgcolor="FDFAC4" text="#000000" onLoad="MM_preloadImages('servicesroll.jpg')" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">.

<table width="98%" border="0" cellpadding="0" cellspacing="0">.

<tr>.

<td align="left" valign="top" height="192" colspan="3"><img src="top.jpg" width="570" height="214"></td>.

</tr>.

<tr>.

<td width="19%" align="left" valign="top"><a href="#" onclick="updateContents('disp','colors.html');return false;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','servicesroll.jpg',1)" target="_self"><img name="Image7" border="0" src="services.gif" width="175" height="47"></a><br>.

<a href="#" onclick="updateContents('disp','colors.html');return false;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','about.jpg',1)" target="_self"><img name="Image3" border="0" src="about.gif" width="175" height="56"></a><br>.

<a href="#" onclick="updateContents('disp','colors.html');return false;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','portroll.jpg',1)" target="_self"><img name="Image4" border="0" src="port.gif" width="175" height="59"></a><br>.

<a href="#" onclick="updateContents('disp','colors.html');return false;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','contactroll.jpg',1)" target="_self"><img name="Image5" border="0" src="contact.gif" width="175" height="52"></a><br>.

<a href="#" onclick="updateContents('disp','colors.html');return false;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','homeroll.jpg',1)" target="_self"><img name="Image6" border="0" src="home.gif" width="175" height="60"></a><br>.

<img src="botleft.gif"></td><td width="30"><br></td>.

<td id="disp" width="700" height="420" align="left" valign="top"><ilayer id="NSdisp"><layer id="inner" onload="unclipParent(this)"></layer></ilayer>.

</td>.

</tr>.

</table>.

</body>.

</html>.

[colors.html].

<html>.

<head>.

<title>dummy</title>.

</head>.

<body>.

<script type="text/javascript" language="JavaScript">.

Function getHexTriplet() {.

Var r = (Math.random() * 256).toString(16);.

Var g = (Math.random() * 256).toString(16);.

Var b = (Math.random() * 256).toString(16);.

Return ('#' + r + g + b);.

}.

Document.write('<table width="700" height="420" cellspacing="0" ',.

'cellpadding="0" border="2" bordercolor="#000000" bgcolor="',.

GetHexTriplet(),'">');.

</script>.

<tr>.

<td width="100%" height="100%" align="left" valign="top"><br>.

</td>.

</tr>.

</table>.

</body>.

</html>.

The second file is just for something to load in the first one. Notice the fixed dimensions. The script is from (IE lead developer) Scott Isaacs; it uses 'dummy' <iframe>s to load the HTML files, which IE elements can't do, then dumps the innerHTML in an element (table cell, in this case). All the advantages of using regular elements, with page loading as well. Netscape Layers do both (badly)....

Http://www.siteexperts.com/tips/contents/ts06/page1.asp..

Comment #3

Wow you gentlemen really work fast. The implemented code worked like a charm and was exactly what I was looking for. I will now have to read up on the Dreamweaver book so that I can make some changes to the code you gave me. I hope that you will bare with me when I ask how to get a link for Netscape users. Should I just put something on the bottom or have a "no script" clause? Is it unprofessional to place a link for the Netscape users? How would you do it? If I'm pushing my luck just accept my gratitude..

N.B. if you need technical support just email me and I will return the favour..

(lol this post should probably be moved to 3 different groups)..

Comment #4

I don t think it is unprofesional. (dont look to my english I am dutch).

It is verry User friendly..

But this is my opininon...

Comment #5


This question was taken from a support group/message board and re-posted here so others can learn from it.