|
It is quite valid, especially if the menu items are dynamic due to database queries for rights, content, etc. The big issue that people have with frames is the scrolling. So, if you use frames, make sure that they are as small as possible, so that the main content frame is maximized, helping reduce the amount of scrolling required.
onwards and upwards...
|
|
|
|
|
In addition, most search egine robots stop at FRAMESET pages and do not sunbscribe the other pages...
The robots seem to follow A tag links only... not all of them but a few work this way...
Would you like only your home page or all web pages of your web site to be subscribed in search engines?
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
|
|
the litle engines that go and get the web pages of your web site when you register it on a search engine like google or yahoo.
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
ohh...
and I forgot to mention BOOKMARKING AND PRINTING problems?
Which frame to print?
which frame to bookmark?
What if the user wants to print all frames?
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
Ever tried using ? Its a floating frame, which you can put in your existing html page, pretty cool and you can tweak around with it a lot.
cheers
Written on a gravestone:
Hear lies a father of 29. He could have had more but he didn't have the time!
|
|
|
|
|
shot to all those that are helping me!!!
how do I open the fullscreen?
I have a function that The Server gave me.
<SCRIPT LANGUAGE="JavaScript"><br />
<!--<br />
function OpenWndFullScreenMode()<br />
{<br />
window.open("popup.html","","top=-30,left=-10,width=800+10+25,height=600+30+10,directories,location,menubar,resizeable,scrollbars,toolbar");<br />
}<br />
</script>
Stay well and ejoy life to the max
|
|
|
|
|
Hi
---
I didnt understand your question.
PLease explain...
BTW:
Greate function The Server gave you...
but only 1 more thing to add
use this code the get the screen resoulotion:
<br />
var screenWidth = window.screen.width;<br />
var screenHeight = window.screen.height;<br />
=-=-=-=-=-=-=-=
The Server
|
|
|
|
|
|
Just copy/paste the text below to an empty HTML file:
<HTML>
<script>
function WhatEverFunc()
{
alert("Hope this code helps you");
}
</script>
<BODY>
<input type="button" onclick="WhatEverFunc()" text="Click here" value="Click here" />
</BODY>
</HTML>
=-=-=-=-==-=-=
|
|
|
|
|
For IE, try
window.open("popup.html","","scrollbars=yes,fullscreen=yes");
|
|
|
|
|
Sorry, forgot to sign in before posting..;P
onwards and upwards...
|
|
|
|
|
You can try this to open the window in full screen.
window.open('page.html','','top=0,left=0,height=' + screen.availHeight + ',width=' + screen.availWidth);
You can also try adding, subtracting some from the screen.availHeight, screen.availHeight etc to adjust your window as per your requirements.
cheers
Written on a gravestone:
Hear lies a father of 29. He could have had more but he didn't have the time!
|
|
|
|
|
I am using the DOM along with DHTML to dynamically manipulate html...
According to a certain event I need to remove a node, but I cant find a method for removing or deleting nodes.
I am aware of the replaceNode() method but this requires another node to replace the old one with which is not good for me...
Any ideas?
Thank you
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
Using DHTML, you can always parse out the HTML tag of the element you wish to delete from the parent's innerHTML and set it back. EX:
function DeleteElement(oElem) {
var oParent = oElem.parentElement;
var cParentHTML = StringReplace(oParent.innerHTML,"\r\n","");
var cDeleteHTML = StringReplace(oElem.outerHTML,"\r\n","");
var iIndex = cParentHTML.indexOf(cDeleteHTML);
if (iIndex > -1)
{
oParent.innerHTML = cParentHTML.substr(0,iIndex) + cParentHTML.substr(iIndex+cDeleteHTML.length);
}
}
function StringReplace(cSearch, cFind, cReplace) {
var iPos = cSearch.indexOf(cFind);
while (iPos > -1)
{
cSearch = cSearch.substr(0,iPos) + cReplace + cSearch.substr(iPos+cFind.length);
iPos = cSearch.indexOf(cFind);
}
return cSearch;
}
Hope this helps (and i just typed this in, so don't rely on it working).
|
|
|
|
|
Sorry, forgot to sign in before posting...;P
onwards and upwards...
|
|
|
|
|
Kinda expensive solution DOM1 defines the removeChild method, so why not use it:
var parent = document.getElementById("anelement");
var child = document.getElementById("anotherelement");
parent.removeChild(child);
IE DOM0 implements the removeNode method:
var child = document.getElementById("anotherelement");
child.removeNode(true);
|
|
|
|
|
Does anyone know how to open a window in fullscreen with no scrollbars and so on just a plain blank screen that will be used to display pics?
Stay well and ejoy life to the max
|
|
|
|
|
You cant
The workers and I tried for days to find a way and NOTHING!!!
But...
we came up with this resault:
<script>
function OpenWndFullScreenMode()
{
window.open("popup.html","","top=<code>-30</code>,left=<code>-10</code>,width=<code>1024+10+25</code>,
height=<code>768+30+10</code>,directories,location,menubar,resizeable,scrollbars,toolbar");
}
</script>
Hope I helped you...
I not sure about the specific '-10' '+25' and '+30' numbers
but you got the idea.
Thanks for your help in closing the window.
=-=-=-=-=-=-=-
The Server
|
|
|
|
|
In addition you can get the width and height of the screen like this:
var screenWidth = window.screen.width;<br />
var screenHeight = window.screen.height;
in order to make your code more generic and it will work for any resolution......
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
|
How does one call another funtion from within another.
eg.
function the_clown()
{
}
function bobo()
{
// call function the_clown()
}
Incase people are wandering I've been thrown into the deep end with java scripting, I literally know only what I've taught myself in the past four working days!!!!
all help will be definitly appreciated thanx
Stay well and ejoy life to the max
|
|
|
|
|
You just go:
function the_clown()<br />
{<br />
}<br />
<br />
function bobo()<br />
{<br />
the_clown();<br />
}
Good luck with JavaScript. It is cool writing javascript. I enjoy it alot!
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
Hi all
=-=-=-=
in my HTML I need to open a window.
everything OK....
but then... I was asked to close it
<script language="JavaScript">
function OpenIt()
{
open("http://URL.com","MyNewWindow");
}
function CloseIt()
{
}
</script>
Please Help
=-=-=-=-=-=-=-
The Server
|
|
|
|