rejetto forum

HTML Question

0 Members and 1 Guest are viewing this topic.

Offline thecow5

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Hi all,
a quick question regarding this HTML Tag.
<BGSOUND SRC="http://mysyte.no_ip.net/Gif-server/When I was young.ogg" LOOP=5>

this works great as each time someone visits my site the song is played in the background for 5 loops, my problem is each time someone click on a link the song stops and when the new page/link opens the song starts over and so does the number of loops, I would like to have it not stop and start over but simply continue palying and keep the number of loops and not start the loop all over.

Thanks for any help.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
1. move all your stuff to a folder X
2. create a double frame html in the root, one frame with size zero and the background music, the other frame with 100% size and pointing to folder X
3. set default file mask of the root to load the double frame html


Offline Sanchess

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
Exuse me, i didn't understand. I have the similar aim: i want to have the start page of my server splitted for two horizontal frames. In top frame i want to have the standart HFS (with folders, files etc.), and in bottom i just want to load another page (for example "http://ya.ru"). I can do the frames with html files, but a problem to share the folders (hfs vars doesn't work). And if i try to do this in "Edit template i have another problem - top frame doesn't load). Could anybody help to make a *.tpl file, or archive with *.html files with some instruction? Or post code here.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
the solution above works for you too.
just don't make zero-height for the frame.
which one of the 3 steps you don't understand?


Offline lindis

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
 ;D
Hi rejetto.

I kind of understand it almost.
but if i make an html page with 2 frames - both frames of same height - am i right !?
but only one frame with 100% width ..?
and is frame (2) to point to folder X with an clickable url or targeted to folder X without any click~ url.

can u post or send me an description - would be appriciated.

Many thanks. from Lindis


Offline radd

  • Tireless poster
  • ****
    • Posts: 145
    • View Profile
lets put it one by one.

1. u need to have a page with 2 frames, called index.htm. put it in main root, outside any other folder
2. all your file should be put under one main folder, lets call it "root"
3. u need to have another page that u want to put together as frame. lets name it frame.htm. put it at same place as index.htm for thecow5, u need the page that have bgsound. so, in frame.htm, put the bgsound code. Sanchess may not need to have this frame.htm page.

4. in index.htm, set the top frame to point root/ and bottom frame to point the second page. also set height for the bottom frame

here is how index.htm should look
Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<frameset rows="*,0" cols="*" framespacing="0" frameborder="no" border="0">
  <frame src="/root/" name="mainFrame" id="mainFrame" title="mainFrame" />
  <frame src="frame.htm" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" />
</frameset>
<noframes><body>
</body>
</noframes></html>

for Sanchess case, change 0 at frameset rows="*,0"  to any value correspond to height of "bottom page" that u want to have, and change frame.htm to http://ya.ru/

5. make sure u put the index and frame in hfs!!

another thing, folder that contain items for template (such as for ToG and terayon) should be place at main root (same level as fram.htm and index.htm), not inside folder "root" or any other folder
« Last Edit: August 09, 2007, 05:05:04 PM by radd »


Offline lindis

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
 ::) ahaa .. ok

well i think i got it this time .. lol

thanks m8