chrometweaks.org

Can Amazon Web Services replace my iPage web host?

Click Here To View All Answers...


My first question is Can Amazon Web Services replace my iPage web host? Thanks in advance for any answer or 2. My 2nd question... Ok on top I have Title, on the left I have Javamenu. My next move would be to put in the left undercorner a small time indicator, I do have the Javascript of it..

If I try to write it below the javascript of the menu, it justs disables the javamenu(picture1 as attachment), and writes the clock just left below the title. If I divide the first Javascript with <br>(breaks) till down (+-30 <br>) it's just shown below, like in the second image(picture in reply below), also disabling the pic..

Is it possible to move it below the menu,left corner of browser without disabling it!?.

Added are the two pictures of both situations, I'm just starting out for a small support site..

Ok sorry no screens, don't seem to work..

Comments (11)

Of course! but you might want to make sure and wait for another member here to confirm my answer as I am not sure. Better yet, why don't you call the iPage guys because they can give you help better...

Comment #1

Just tried that, and now both scripts are into the HTML encoding, but the only thing that displays is the menu, the clock doesn't overlap the menu anymore(that's good), but this time it just doesn't show up..

So it doesn't work with putting the span below the <script>. Any more thoughts?..

Comment #2

I copied your script from above and it worked just fine. It showed up as 24-hour clock with red text in the upper-left-hand corner of my browser. That's what your looking for right?.

But, as to thy they won't both show up....? Could you post the script from the other .Js files that you have linked to your page? Otherwise I can't tell what else you have on the page. A link to your iPage site would be nice too...

Comment #3

Is it not an option to use 2 javascripts in one html doc? Or is it obligated to use Frames?..

Comment #4

Yes you can use two javascripts on one page. However, if we can see both scripts we can help you to set it up correctly...

Comment #5

What else can I give you, I posted above the two scripts already, you want me to frase it in a <body><html> dress? The iPage site isn't online yet, I'm working on it offline. So no URL at hands. Just for the index.html I need this menu on the midleft, and this javaclock on the left below (below the menu, on the left down side of the browser)...

Comment #6

What you posted was, in fact, 3 scripts. However, the first two scripts are merely linking two separate Javascript files. See the following:.

<body>.

<!Title>.

<h1 align="center"><ins>Helpdesk Support</ins></h1>.

<!Menu>.

<script type='text/javascript'>.

Function Go(){return}.

</script>.

<script type='text/javascript' src='exmplmenu_var.js'></script>.

<script type='text/javascript' src='menu_com.js'></script>.

<noscript>Your browser does not support script</noscript>.

</body>.

By the way, if Function Go() is defined in one of the linked Javascript files, then it needs to be placed below the lines that I put in red. Otherwise, the browser will try to execute a function that has not yet been defined, and will result in an error..

Post those other scripts and we'll be more than happy to help you out...

Comment #7

<HTML>.

<HEADER>.

<TITLE>Internet Helpdesk: Connection Errors, Support, Internet Forum</TITLE>.

</HEADER>.

<body bgcolor="#660000">.

<h1 align="center"><ins>Helpdesk Playground</ins></h1>.

<script type='text/javascript'>.

Function Go(){return}.

</script>.

<script type='text/javascript' src='exmplmenu_var.js'></script>.

<script type='text/javascript' src='menu_com.js'></script>.

<noscript>Your browser does not support script</noscript>.

</body>.

</HTML>.

This one is the one with menu, now I want to add on the down left corner a small clock..

The script of the clock is this:.

<p><span id=tick2>.

</span>.

<script>.

<!.

Function show2(){.

If (!document.all&&!document.getElementById).

Return.

Thelement=document.getElementById? document.getElementById("tick2"):.

Document.all.tick2.

Var Digital=new Date().

Var hours=Digital.getHours().

Var minutes=Digital.getMinutes().

Var seconds=Digital.getSeconds().

Var dn="PM".

If (hours<24).

Dn="AM".

If (hours>24).

Hours=hours-24.

If (hours==0).

Hours=24.

If (minutes<=9).

Minutes="0"+minutes.

If (seconds<=9).

Seconds="0"+seconds.

Var ctime=hours+":"+minutes+":"+seconds+" "+dn.

Thelement.innerHTML="<b style='font-size:11;color:990000;'>"+ctime+"</b>".

SetTimeout("show2()",1000).

}.

Window.onload=show2.

//>.

</script></p>.

Now I want to add this so that I see BOTH and not that my clockscript disables/overlaps!? my menu!!!!.

I succeeded with Frames, but to avoid confusion I'm not showing you that, anyway that is still on my work on disc so not at hands...

Comment #8

The only reason that I'm saying this is because you're frustrating the hell out of me!.

GIVE IT UP!! JAVASCRIPT IS NOT FOR YOU!!.

With that said, I think you need to buy a javascript book and figure out what it means to link a file. Like I said, you have two Javascript files that are linked. If you do not provide us with the script that those two files contain, then we cannot help you..

To tell you the truth, this is getting so annoying that by the time you figure out what I'm talking about I'll probably be dead of from bashing my head into my computer screen...

Comment #9

You need to look inside the files menu_com.js and exmplmenu_var.js and see what's declared there..

For instance, you have the line 'window.onload=show2' above. In one of the .js files, it may say 'window.onload=someOtherThing', in which case this will be clobbered by the line above..

You can't just concatenate disparate scripts together and expect them to run harmoniously as a whole...

Comment #10

That's a great use of words in your last sentance Jon. But, I don't think English is D'Arte's native tongue. In which case, he probably doesn't know what you're talking about. But, he didn't understand our other, simpler, explanations either. Oh well.......

Comment #11


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