View Full Version : cross browser
garfield_101
January 5th, 2003, 04:20 AM
how do i achieve cross browser compatibility of using dhtml to both the ie and the netscape broswer. pls. teach me bec. i cant interpret what the website i searched through means.
also, is jsp much better than asp. and on what database can the jsp connect to?
bow do i create forums in my website? does the services offered by the cybertech free or if not free can they be asked for with assistance in case i would like to learn how to create databse forums and guest book?
Steven.Bentley
January 5th, 2003, 03:07 PM
A lot of questions there...
how do i achieve cross browser compatibility of using dhtml to both the ie and the netscape broswer. pls. teach me bec. i cant interpret what the website i searched through means.
This one really depends on the kind of script - DHTML can mean a number of things
also, is jsp much better than asp. and on what database can the jsp connect to?
Not having used either (I work in PHP myself) I'll leave that to someone who might know, but I would expect jsp to be able to connect to the likes of MySQL, Oracle etc
bow do i create forums in my website? does the services offered by the cybertech free or if not free can they be asked for with assistance in case i would like to learn how to create databse forums and guest book?
Our help forums are entire free for people to ask questions on :) We're using a system called vBulletin to run our forums which isn't a free product but there are some free forum systems around but you tend to get what you pay for
MishY
January 5th, 2003, 05:26 PM
CTHs design services where CTH does design work for you is not free however. If you are referring to :
http://www.cybertechhelp.com/html/services/index.php
btw if you are looking for hosting try :
http://www.evileyehosting.com/
garfield_101
January 5th, 2003, 10:10 PM
www.evileyehosting.com is free hosting that support dhtml? bec. geocities doesnt...
dhtml for means that of any dyanmic things that move across the screen ro any animation thing. why is thre many such things?
free forums? did you bought it or someone programmed you on it. does database already supported by the forum. does buying a forum includes this msilies in the left side?
MishY
January 5th, 2003, 10:26 PM
evilhosting.com is not free hosting. Prices are here :
http://www.evileyehosting.com/html/packages.html
Geocities supports DHTML. You are confusing DHTML with true dynamic driven content. Whether or not Geocities will give you access to a database or not I couldn't comment on as I haven't seen what they offer in ages. They never used to that's for sure.
You can get free forums yes.
No the forums Cyber Tech Help use are not free.
The forum creates the tables for the forum database. You need to have access to a database like MySQL first however.
Yes the forum does include the smilies. In the case of CTH, the forum packages includes all the graphics other than anything Cyber Tech Help related, or in the header of the forum pages only.
garfield_101
January 11th, 2003, 11:43 PM
HI! I would like to ask your help in how could i make the below dhtml to be compatible in mozilla aka netscape? I know you can't see the images but the image are squares that lead to the center and you click it to enter a site? this is a dhtml i found in internet and its a great one. Any help will be greatly appreciated.
<SCRIPT">
<!--
var NN = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 4);
function MFX_initALL(){
HIDDEN = (NN) ? 'hide' : 'hidden';
VISIBLE = (NN) ? 'show' : 'visible';
runslide=false;
runslide1=true;
stepSide=4;
stepDown=3;
allX = (NN) ? window.innerWidth : document.body.clientWidth;
allY = (NN) ? window.innerHeight : document.body.clientHeight;
centerX = allX/2;
centerY = allY/2;
myREF=0;
L= new Array();
D=new Array;
L[0] = (NN) ? document.Layer1 : document.all.Layer1.style;
L[1] = (NN) ? document.Layer2 : document.all.Layer2.style;
L[2] = (NN) ? document.Layer3 : document.all.Layer3.style;
L[3] = (NN) ? document.Layer4 : document.all.Layer4.style;
L[4] = (NN) ? document.Layer5 : document.all.Layer5.style;
L[5] = (NN) ? document.Layer6 : document.all.Layer6.style;
L[6] = (NN) ? document.Layer7 : document.all.Layer7.style;
L[7] = (NN) ? document.Layer8 : document.all.Layer8.style;
distanceTOhere= new Array();
distanceTOhere[0]=1;
distanceTOhere[1]=0.85;
distanceTOhere[2]=0.7;
distanceTOhere[3]=0.55;
distanceTOhere[4]=0.4;
distanceTOhere[5]=0.3;
distanceTOhere[6]=0.15;
ofset=new Array();
ofset[0]=10;
ofset[1]=20;
ofset[2]=30;
ofset[3]=40;
ofset[4]=50;
ofset[5]=60;
ofset[6]=70;
for(m=0; m<L.length; m++){
L[m].visibility=VISIBLE;
}
if(NN){
L[7].left=centerX-5;
L[7].top=centerY-5;
}
else{
L[7].pixelLeft=centerX-5;
L[7].pixelTop=centerY-5;
}
}
function initMFXCoords(e){
if(NN){
window.captureEvents(Event.MOUSEMOVE);
window.onmousemove = MFXCoords;
}
else{
window.document.onmousemove = MFXCoords;
}
}
function MFXCoords(evt){
if(!runslide){
if(NN){
posX=evt.pageX;
posY=evt.pageY;
myX=centerX-posX+73;
myY=centerY-posY+73;
for(i=0; i<L.length-1; i++){
L[i].moveTo(centerX-distanceTOhere[i]*myX,centerY-distanceTOhere[i]*myY)
}
}
else{
posX=window.event.x;
posY=window.event.y;
myX=centerX-posX+73;
myY=centerY-posY+73;
for(i=0; i<L.length-1; i++){
L[i].pixelLeft=(centerX-distanceTOhere[i]*myX)
L[i].pixelTop=(centerY-distanceTOhere[i]*myY)
}}
}}
//-->
</SCRIPT>
<BODY BGCOLOR="#FFFFFF" onResize="location.reload(true)"onLoad="initMFXCoords();MFX_initALL()">
<div id="Layer1" style="position:absolute; width:140px; height:140px; z-index:1; left: 318px; top: 46px; visibility: hidden"><img src="images/krug1.gif" width="140" height="140">
</div>
<div id="Layer2" style="position:absolute; width:120px; height:120px; z-index:1; left: 23px; top: 151px; visibility: hidden"><img src="images/krug2.gif" width="120" height="120"></div>
<div id="Layer3" style="position:absolute; width:100px; height:100px; z-index:2; left: 268px; top: 311px; visibility: hidden"><img src="images/krug3.gif" width="100" height="100"></div>
<div id="Layer4" style="position:absolute; width:80px; height:80px; z-index:3; left: 568px; top: 241px; visibility: hidden"><img src="images/krug4.gif" width="80" height="80"></div>
<div id="Layer5" style="position:absolute; width:60px; height:60px; z-index:4; left: 23px; top: 301px; visibility: hidden"><img src="images/krug5.gif" width="60" height="60"></div>
<div id="Layer6" style="position:absolute; width:40px; height:40px; z-index:5; left: 458px; top: 181px; visibility: hidden"><img src="images/krug6.gif" width="40" height="40"></div>
<div id="Layer7" style="position:absolute; width:20px; height:20px; z-index:5; left: 743px; top: 211px; visibility: hidden"><img src="images/krug7.gif" width="20" height="20"></div>
<div id="Layer8" style="position:absolute; width:10px; height:10px; z-index:6; left: 143px; top: 481px; visibility: hidden"><a href="yourfile.htm"><img src="images/krug8.gif" width="10" height="10" name="myenter" border="0"></a></div>
</BODY>
Steven.Bentley
January 12th, 2003, 01:37 PM
A lot of the layering arrangements were changed in Netscape 6+, the code you have looks as though it sniffs for NN4 and will work with that.
30111987
January 12th, 2003, 03:56 PM
if you need good free hosting then i'd reccomend brinkster.com ( http://www.brinkster.com ). They give you 30mb of space and support asp amoung other things. No ads either but the general (free) service has a file size limit of 1mb but that doesn't bother me.
http://www.dynamicdrive.com has a load of dhtml scripts that will run on ie and netscape, just look for the logo next to each script that tells you what it is compatiable with.