chrometweaks.org

Crazy situation with my website/iPage web host/server/etc...?

Click Here To View All Answers...


My 1st question is: Crazy situation with my website/iPage web host/server/etc...? Thanks in advance for any response. Another question on my mind: I want to view the webcam I have hosted on another iPage site on my main website..

So far, I've got this code on my main website:.

<iframe name="float" width="160" height="120" scrolling="Yes" hspace="1" src="http://djadam.camarades.com" frameborder=0></iframe>.

In the little frame I can see the top left corner of the webcam host site..

Is it possible to add co-ordinates to the frame so I can see the webcam in it, rather than the top left portion?.

I don't want to use scroll bars, or pop-ups..

I hope someone can help!.

Thanks...

Comments (11)

That's a good question. I'm not sure what is the answer. I'll do some research in Google and get back to you if I find an good answer. You should email the people at iPage as they probably could give you help..

Comment #1

Just write a blank page and add a link to the webcam source..

Comment #2

Thanks for the help, scoutt..

You confirmed what I didn't want to hear!.

Popups it is then........

Comment #3

I did think that, but I can't find the webcam source..

The image keeps changing to a different file name each time, at least I think I does..

By all means, if you can see what the source file is let me know, that would be fantastic!.

I'll try and play with the webcam host page javascript again..

There has to be a way other than popups and scroll bars..

Thanks for your efforts...

Comment #4

Unfortunately I havent got time tonight to have a better look at the source, but I removed a few things, added a layer and moved it to the left/top, try playing with it some more, thats how I learnt, trial and error and messing around, good luck.

<html>.

<head>.

<title>.

Inner Sanctum </title>.

</head>.

<body bgcolor="#00CCFF"><script language="JavaScript">firstvote=1.

Function floatwindow() {.

Now = new Date();.

Window.open('/s-frame.html',.

("xfloat" + now.getMinutes() + now.getSeconds()),.

"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=180,hei ght=140");}.

Function voter(v){ if (!firstvote) {.

Votewindow.close();.

}.

Else {.

Firstvote=false;.

}.

<center><table border=0>.

<SCRIPT LANGUAGE="JavaScript">.

<!.

Document.domain = "camarades.com";.

Function setCookie(name, value, expire) {.

Document.cookie = name + "=" + escape(value).

+ "; path=/; domain=.camarades.com" + ((expire == null) ? "" : ("; expires=" + expire.toGMTString())).

}.

Function getCookie(Name) {.

Var search = Name + "=".

If (document.cookie.length > 0) {.

// if there are any cookies.

Offset = document.cookie.indexOf(search).

If (offset != -1) {.

// if cookie exists.

Offset += search.length.

// set index of beginning of value.

End = document.cookie.indexOf(";", offset).

// set index of end of cookie value.

If (end == -1).

End = document.cookie.length.

Return unescape(document.cookie.substring(offset, end)).

}.

}.

Return '';.

}.

Var popup = getCookie("popup");.

Var tsource = getCookie("sourcecookie");.

Var eliteidcookie = getCookie("eliteidcookie");.

Var camidcookie = getCookie("camidcookie");.

Var today = new Date().

Var expires = new Date().

If (tsource == '') {.

// source cookie not set, set it now.

Expires.setTime(today.getTime() + 1000 * 86400 * 30);.

SetCookie("sourcecookie","1006706785",expires);.

}.

If (popup == '' && eliteidcookie == '') {.

// has not seen popup, and is not an elite user set cookie, do popup.

Expires.setTime(today.getTime() + 1000 * 900);.

SetCookie("popup","1",expires);.

Popindex();.

}.

If (eliteidcookie == '') {.

Document.write('<TD><FORM method="POST" action="http://www1.camarades.com/elitesignup.html"><table width=468 height=60 bgcolor=#3366CC background=http://www.adprofs.com/richmedia/elite/back.gif cellspacing=0 cellpadding=2 border=0><tr><td width=200 valign=top><font color=gold face="ms sans serif" size=1><b>Try Camarades Elite !</b><br> 12 cams per page / No<br> advertising / Buddylist </td><TD><TABLE cellpadding=0 cellspacing=0><TR><TD><font color=white face="ms sans serif" size=1>Email address: <INPUT name="email" type="text" value="" size=10></TD><TD><font color=white face="ms sans serif" size=1> Password: <INPUT name="password" type="text" value="" size=10><INPUT type="hidden" name="product" value="1"></TD><TD valign="middle">&nbsp;<br><input type=submit value=Subscribe></TD></TR></TABLE></TD></TR><tr><td colspan=2><center><font size=-1>this banner disappears if you are a member!</font></center></td></tr></TABLE><INPUT name="first" type="hidden" value="Please"><INPUT name="last" type="hidden" value="Complete"></TD></form>');.

}.

//>.

</SCRIPT>.

<DIV id=OObj1.

Style="Z-INDEX: 2; LEFT: 0px; VISIBILITY: visible; WIDTH: 100px; POSITION: absolute; TOP: 4px; HEIGHT: 166px">.

</TR></TABLE></TD></TR>.

<TR><TD colspan=2><table width=100% border=0><tr>.

<td>.

<center>.

<table border="0" cellpadding="0" cellspacing="0">.

<tr>.

<td colspan="3"><img src="http://images.camarades.com/images/skins/160_120/00031/t.gif"></td>.

</tr>.

<tr>.

<td><img src="http://images.camarades.com/images/skins/160_120/00031/l.gif"></td>.

<td><A target="_top" HREF="javascript.

:popindex()"><IMG border=0 SRC="http://images.camarades.com/images/skins/160_120/offline.jpg" WIDTH=160 HEIGHT=120></A></td>.

<td><img src="http://images.camarades.com/images/skins/160_120/00031/r.gif"></td>.

</tr>.

<tr>.

<td colspan="3"><img src="http://images.camarades.com/images/skins/160_120/00031/b.gif"></td>.

</tr>.

</table>.

</center>.

</td></tr><tr><td>.

<center>.

</script>.

</div>.

</body>.

</html>..

Comment #5

The bad news is that using the java script isolated from that webcam page it sometimes worked, and sometimes didn't when I embedded it on my own website..

The good news is that I scrapped it altogether and found a new website.

Http://www.myowncam.org.

That took up less resources than the other webcam server, was more customisable, and had a the HTML code that allowed me to paste the webcam on my own site..

Hope that helps someone out...

Comment #6

Hmm, leoo24, your.

Table.

Code is broken. There are a few closings tags missing, stuff closed in the wrong order, and incorrect nesting. Suggest to recheck the code on a validator to get a simple list of the errors. You'll also need your javascript functions in inside.

<script type="text/javascript">.

And.

</script>.

Tags...

Comment #7

That code giz was lifted from my webcam host site, and isn't his..

As he said, he chopped some things out to make it easier to read..

Yeah, there's a few tags missing, but it's nothing that I couldn't sort out. Most of it isn't needed anyway..

It was just a pointer towards the code I needed, that's all...

Comment #8

There should be some server side scripting language that controls the refresh of the camera image, try and find that, you'll need the source on your computer, so viewing source on the live page wont help. Slap that code into the blank page and that should help out a little, then just change the size attributes of the images to fit to your iframe...

Comment #9

Hey adam, glad you found a iPage site that was easier to paste the webcam into your own page!.

Take care.

Leo..

Comment #10

Thanks Leo..

I'm going to look into what KJ_innit said though now because the software running my cam makes my PC crash after a few hours..

So much hassle just to stick my mug on the internet!..

Comment #11

Lol bet after the hastle you're more determined now though!,.

You won't be able to view the server side scritping from the web page source code, ( as you probably know), so far you've been using services and software set up by someone else, why not have your own, actually it isnt that hard to do, try reading here.

Http://netconference.about.com/libra.../aa120399a.htm.

Good luck.

Leo..

Comment #12


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