|
thanks
|
|
|
|
|
You can try this to always open the window in full screen.
window.open('index.html','','top=0,left=0,height=' + screen.availHeight + ',width=' + screen.availWidth);
cheers
Written on a gravestone:
Hear lies a father of 29. He could have had more but he didn't have the time!
|
|
|
|
|
I'm new to all this web stuff, so please be gentle with me
A while back, well 3 years or so, actually, I foolishly said I'd sort my Dad out with a very simple web page for his club (hey, I'm a programmer, it can't be that difficult, right ?) Anyway, I did the biz with registering his domain names (2), they are on a parking/redirection site atm (freeparking), pointing to my own isp's web space (which sucks big time in terms of access, but there you go).
I'm now looking to make it a bit more "official", and figured I'd move it to a "proper" host, but I'm a bit confused about what I really need. Not a lot, I wouldn't think...but I really need to host 4 domains now (I registered 2 for personal use to have a play with). Am I best leaving them parked at freeparking and just changing the DNS settings to point to the new host when I get it (I would guess so from what I've read elsewhere, but, hey, I trust the people on CP!) Also, do I need to have 4 invidual accounts, one for each domain, or is there a way of combining them to save money?
Can anyone recommend any uk based hosts? I'd like a uk one as I'd ideally like to ring up the support/accounts people (for obvious reasons!). Pop mail support would be nice too, and minimal web space/bandwidth. All other whistles and bells are something I have absolutely no idea about whatsoever, and don't know if they are (or could be) useful so I've been a bit boggled by the front end ads of some hosting companies.
Ta,
Debbie
|
|
|
|
|
Ok, It sounds inane and it is... but I work for a company that uses predominantly Netscape, and someone has developed an application that will run only in IE. The quesion: is there any known method for launching IE from a link in Netsape. Serious replies only please -- I've already heard or told most of the netscape jokes on the planet.
William
LSPP - Long Suffering Perl Programmer
|
|
|
|
|
either link to a file type already associated with IE and not NS, or create a new file extension type and associate it with IE and in your custom headers, return the correct mime type headers (ex: application/msword)
onwards and upwards...
|
|
|
|
|
Hello,
I am trying to develop a program based on c# and aspx systems.
I am required to write a code which must be in java script.
The code would be able to make a calculation.
The calculation is a bit complex.
I am required to do that:
There is a value of a result of an expeirence and there is a upper and lower limit of the result of the expeirence.
e.g
Upper limit : 2.4
Lower limit : 1.2
The value of result of the expeirence is 1.8
The result of the experience value could be out of limits.
(actually the limits are defined for the standart situations)
I have a record which is like shown below
UpperLimit : 2.4
LowerLimit : 1.2
Value : 1.8
-------
And I am now changing the upper and lower limits to ...
UpperLimit : 4.8
LowerLimit : 2.4
Value : ?
How can I calculate the final value?
I have already tried:
Final = Value * (UpperLimit(2) - LowerLimit(2))/(UpperLimit(1) - LowerLimit(1))
It is not just relaited with the range. It is also releated with the position of the limits.
e.g.
|------|----------|-----------|------
0______LL_________X___________UL
_______<-------difference----->
_______<---------range-------->
0 ,zero
LL, Lower Limit
X , Value
UL, Upper Limit
Both range and the position are being changed .
Thank you for your time
Regards,
Emre YAZICI
|
|
|
|
|
Without some information about the actual relationships among the limits and the value, there is no way to begin advising you about this. At a first glance, the original Value is the midpoint between the limits in your first example. But there is no way to justify an assumption that any other set of limits will produce a new value that is again the midpoint, unless that is by design and not stated in your post.
In the event that the midpoint is, in fact, the value you want, the formula for that is
Value = (UpperLimit + LowerLimit)/2
for all pairs of limits.
"The Lion shall lie down with the Lamb; but the Lamb will not get much sleep..." Lazarus Long
|
|
|
|
|
what does everyone has against pages with frames in?
the way i see it, frames prevent sections of pages - like a menu - from being loaded more than once since it appears on all the pages.
or is this invalid?
|
|
|
|
|
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...
|
|
|
|
|