Jump to content

Recommended Posts

Posted

hi. heres anthor request.

 

i dont wanna use frames for my page.. using tables

 

is there any script that exist that can make it possible for me to change the information or whatever on the same page w/o making it loading anthor page... via hyperlink.

 

 

sorta like a mouseover.. but not changing the picture.. just text.

 

thanks.. i hope im clear

 

havoc,

Posted

Hi havoc.

 

Well, there are some ways to accomplish this using CSS and JavaScript but since Internet Explorer does not support them, I'll suppose you don't want to use them.

 

Another possible way would be to use an <iframe> tag. An iframe is basically a little box in your page inside which you load another HTML file.

 

Check this website:

http://www.w3schools.com/tags/tag_iframe.asp

Posted

just be forewarned that IFrame is relatively new and doesn't work with Netscape lower than v6. I'm not sure how far back it works in IE, but I think it started out as an IE tag.

 

~Christy

who otherwise likes the Iframe

Posted

Even though I'm not sure what he means, I've used something like this before to change the contents between a DIV tag by clicking a link:

 

><script language="JavaScript">
<!--
function change(divtochange, newtext) {
   divtochange.innerHTML = newtext;
}
//-->
</script>
<a href="javascript:change(testdiv, 'See it changed!');">(click here to change)</a><br>
<br>
<div id="testdiv">Original text.</div>

 

This though I think might only work in IE. I really don't know much about dhtml. Dreamweaver has a bunch of functions for stuff like this.

Posted

Hi,

 

You could:

 

1) Use layers. Possible to do, but if certain aspects of the browser are turned off or it does not support CSS perfectley, this is a waste

 

2) Iframe. Bad bad bad. Has too many potential security flaws. Also in IE 6 the standard is to have it as a warning before use. Not good if someone keeps on popping onto your site all the time.

 

3) Flash. Something I have just found very useful. Flash can "import" text files and display them on screen. Something else it can do is support HTML and CSS in the text files. Hence no re-loading is ever done, and flash works in everything if you have the flash player :P

 

Jim

Posted

Hi,

 

Not bad, although I dislike Iframes as you might have understood already.

 

As a side note, I suggest you make the width of the page smaller by about 50 px. On my 1064 wide screen, i have to scroll left or right to see the full content which is a tad annoyance to any surfer

 

Jim

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...