Home User CP Browse Members Calendar Register Today!  
Get New posts Faq / Help?
   

Not A Member Yet? Register today and become part of the community.

Go Back   Profuse Host Forum > World Wide Web > Programming / Scripting / Coding Forum

Programming / Scripting / Coding Forum Discussion HTML, C++, PHP, CGI, JSP, perl etc

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-08-2008, 09:33 PM
Ondes
Status: Offline
Member
 
Join Date: Jan 2007
Posts: 18
Ondes is on a distinguished road
Default Few things for my new site

Hello all, just need a bit of guidance regarding features for my new site.

Firstly, I need a script of javascript or flash or something so that I can have a collapsable iframe/frame.

Secondly, anyone know of some type of system that would allow me to have a site introduction (flash) play only once for each new visitor on my main index page, and have it use a cookie or something, so that it wouldn't play again for the duration of the session. (Maybe with an off button too in case cookies (if used) aren't enabled).

The site is being written in XHTML 1.1 as well.

Thanks all.
Reply With Quote

  #2 (permalink)  
Old 05-09-2008, 08:14 AM
wired076
Status: Offline
Senior Member
 
Join Date: Nov 2005
Location: Wired
Posts: 359
wired076 is on a distinguished road
Send a message via ICQ to wired076 Send a message via AIM to wired076 Send a message via MSN to wired076 Send a message via Yahoo to wired076 Send a message via Skype™ to wired076
Default

I will have a look at my programming book and see what I can remember in regards to this.

Why are you using frames??

Can I have a look at the site please??
__________________
Please contact me via email for webmaster work/support at reasonable prices.
Email: admin@itconstruct.com.au

Visit http://www.itconstruct.com.au
Reply With Quote

  #3 (permalink)  
Old 05-09-2008, 04:04 PM
Ondes
Status: Offline
Member
 
Join Date: Jan 2007
Posts: 18
Ondes is on a distinguished road
Default

Ok thanks.

And truthfully, I don't really want to use frames, I'd prefer to use flash or something or js if it is possible (I'm not sure). So any ideas in that department would help. Also, my main directory is currently locked but I can probably arrange to open it so you can take a look after.

Thanks again.
Reply With Quote

  #4 (permalink)  
Old 05-13-2008, 06:19 AM
snoop1990
Status: Offline
Senior Member
 
Join Date: Dec 2007
Location: Germany (in a small town)
Posts: 356
snoop1990 is on a distinguished road
Default

I also strongly recommend NOT to use frames ! (there are several reason why not trust me)

The other thing is your idea of the one time video! If the video should play once per session you can do that by building a side entrance. (if the user enter the page the video starts and they can either watch it or skip it, at the end of the video or if they skip it they are redirected to the index page.)
Or you program your flash video so it do not repeat itself.

Your idea about setting a cookie is also possible (easily done with javascript) but I guess the other solutions are much simpler.

Regrades Snoop1990
Reply With Quote

  #5 (permalink)  
Old 05-13-2008, 03:12 PM
Ondes
Status: Offline
Member
 
Join Date: Jan 2007
Posts: 18
Ondes is on a distinguished road
Default

Thanks for the information.

What do you suggest instead of frames?

And if I were to do the cookie thing, what does it entail? (Where to get code, etc.) If it is just much simpler to do it the other way, I may just do that.
Reply With Quote

  #6 (permalink)  
Old 05-13-2008, 06:35 PM
bizzard
Status: Offline
Senior Member
 
Join Date: Jan 2006
Location: A small remote village in Kerala, India
Posts: 395
bizzard is on a distinguished road
Send a message via MSN to bizzard Send a message via Yahoo to bizzard
Default

why don't you use php instead of frames? just rename your HTML file to ".php" and add the line <? include 'filename.php' ?> with that frames can be avoided.
__________________
At last a domain for myself.... www.tvmanukrishnan.uni.cc

Check my personal blog @
blog.tvmanukrishnan.uni.cc

My pet project:
Reply With Quote

  #7 (permalink)  
Old 05-14-2008, 09:14 PM
Ondes
Status: Offline
Member
 
Join Date: Jan 2007
Posts: 18
Ondes is on a distinguished road
Default

The file is already a .php, as I have some included! I didn't even know PHP could be used for tables. I also do use a lot of CSS as XHTML 1.1 tends to require the stylization of the site externally/remotely.

My last question is, is there some php to make the php frames collapsable? (Ex: I push a button and the frame is hidden, so I have space for other things)

Thanks a million!
Reply With Quote

  #8 (permalink)  
Old 05-14-2008, 09:15 PM
Ondes
Status: Offline
Member
 
Join Date: Jan 2007
Posts: 18
Ondes is on a distinguished road
Default

I didn't even know PHP could be used instead of frames! My file is already a .php since I need PHP for a contact us form. I do also use CSS quite a bit as XHTML 1.1 shifts the focus to CSS nearly completely for the setup of the site.

My last question now is, is there a way to make the PHP frame collapsable? (Ex: I push a button and the frame is hidden, to make space for other things that are on the page?)
Reply With Quote

  #9 (permalink)  
Old 05-14-2008, 09:16 PM
Ondes
Status: Offline
Member
 
Join Date: Jan 2007
Posts: 18
Ondes is on a distinguished road
Default

My reply isn't where it is supposed to be!

I didn't even know PHP could be used instead of frames! My file is already a .php since I need PHP for a contact us form. I do also use CSS quite a bit as XHTML 1.1 shifts the focus to CSS nearly completely for the setup of the site.

My last question now is, is there a way to make the PHP frame collapsable? (Ex: I push a button and the frame is hidden, to make space for other things that are on the page?)
Reply With Quote

  #10 (permalink)  
Old 05-14-2008, 11:15 PM
Ondes
Status: Offline
Member
 
Join Date: Jan 2007
Posts: 18
Ondes is on a distinguished road
Default

Once again I don't know why my replies keep going to the wrong place, but I needed to ask - will the php include function work with external links. What I need to display is not on my server...
Reply With Quote

  #11 (permalink)  
Old 05-16-2008, 01:49 PM
snoop1990
Status: Offline
Senior Member
 
Join Date: Dec 2007
Location: Germany (in a small town)
Posts: 356
snoop1990 is on a distinguished road
Default

Quote:
Originally Posted by Ondes View Post
What do you suggest instead of frames?
Quote:
Originally Posted by bizzard
why don't you use php instead of frames? just rename your HTML file to ".php" and add the line <? include 'filename.php' ?> with that frames can be avoided.
I totally agree with bizzard on this point php is much more comfortable than frames will ever be. You maybe also want to use css to make you html or php even more dynamic !
Reply With Quote

  #12 (permalink)  
Old 05-18-2008, 08:46 AM
snoop1990
Status: Offline
Senior Member
 
Join Date: Dec 2007
Location: Germany (in a small town)
Posts: 356
snoop1990 is on a distinguished road
Default

Quote:
Originally Posted by Ondes View Post
Once again I don't know why my replies keep going to the wrong place, but I needed to ask - will the php include function work with external links. What I need to display is not on my server...
We are very sorry for the confusion, but he recently had a time issue on the server, so the server jumped about two or three days ahead, that issue is fixed by now but the post I did (during the server was on the wrong date) are not sorted alright. ...

But the integration.
php is dynamic, each side is rendered as a user requests it. So you can define an index.php file and inside this file you tell php to load the different parts of your side, like you do with frames. Define a base and tell which files to load, it is nearly the same, but php is much more, like the contact script you mentioned and so on.
Reply With Quote

  #13 (permalink)  
Old 05-18-2008, 09:17 PM
Ondes
Status: Offline
Member
 
Join Date: Jan 2007
Posts: 18
Ondes is on a distinguished road
Default

Firstly, thanks for sorting out the issue and responding to my PM.

Secondly, would it be like this - create an index.php and inside that, define the external site I need (Example, Google.ca) and then use an include to include the index.php? If so, how do I define in the index. If I mixed things up I apologize, just want to make sure!

Thanks again!
Reply With Quote

  #14 (permalink)  
Old 05-19-2008, 06:34 AM
snoop1990
Status: Offline
Senior Member
 
Join Date: Dec 2007
Location: Germany (in a small town)
Posts: 356
snoop1990 is on a distinguished road
Default

I am not sure what exactly you want me to show/ tell you, but to replace Frames you can do it like this:

PHP Code:
<html>
<head>
<title>example</title>
</head>
<body>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
      <td valign="top">
      <? include("head.html"?>   // we include the head.html
      </td>
  </tr>
      <td>
      Here we have the main textfile, 
      there is a lot of text 
      and more important a link 
      <a href="link.php">Link</a> 
    </td>
  </tr>
</table> // so the table layout is completed 
<? include("footer.php"); ?> //but we want to add a footer
</body>
</html>
I hope this is what your looking for.

Regrades Snoop1990
Reply With Quote

  #15 (permalink)  
Old 05-19-2008, 01:33 PM
Ondes
Status: Offline
Member
 
Join Date: Jan 2007
Posts: 18
Ondes is on a distinguished road
Default

Thank you for the code however I am not sure if it is going to work for what I need. I need to display other sites, not headers or footers. Example... I have a fully functioning page, and in the center I show a frame or something of another site.

Thanks again.
Reply With Quote

  #16 (permalink)  
Old 05-19-2008, 02:17 PM
joeally
Status: Offline
Junior Member
 
Join Date: May 2008
Posts: 4
joeally is on a distinguished road
Default

What about iframes. Search iframe in Google this can achieve this without the headache you get from frames (the worst tag in HTML). You can just use them in anywhere in any webpage. Doesnt have to be in a special frameset doctype
Reply With Quote

  #17 (permalink)  
Old 05-19-2008, 03:05 PM
cfeedback
Status: Offline
Member
 
Join Date: May 2008
Location: Reno, NV
Posts: 31
cfeedback is on a distinguished road
Default

Hey, not to hijack your thread but I'm finding all this very interesting as I was planning on using frames too. I'm good with computers in general but a complete newbie when it comes to web design (I'm basically just playing around with a WYSIWYG editor and a phpbb3 board). How hard would it be to setup something like this site? It looks like they use Mambo (?) - PEBA - Home

It wouldn't need to be nearly as fancy but I'd want links, on the left, a middle "frame" which would pull articles that are somewhere else on the site, and another "frame on the right with current status, etc.
__________________
First, they came for the socialists, and I did not speak out because I was not a socialist. Then they came for the trade unionists, and I did not speak out because I was not a trade unionist. Then they came for the Jews, and I did not speak out because I was not a Jew. Then they came for me, and there was no one left to speak for me.
Reply With Quote

  #18 (permalink)  
Old 05-20-2008, 11:37 AM
snoop1990
Status: Offline
Senior Member
 
Join Date: Dec 2007
Location: Germany (in a small town)
Posts: 356
snoop1990 is on a distinguished road
Default

Quote:
Originally Posted by cfeedback View Post
Hey, not to hijack your thread ...
Please! I opened up a new threat for you, (cfeedback - A side like PEBA) just to give you the answer you want and give Ondes the space for his answers.
Reply With Quote

  #19 (permalink)  
Old 06-08-2008, 01:46 PM
bokepwap
Status: Offline
Junior Member
 
Join Date: Jun 2008
Posts: 14
bokepwap is on a distinguished road
Default

except uni.cc you can make free domain at co.cc
this website address is:
Code:
http://www.co.cc
you can also make referal money from this site free domain
take enjoy
__________________
Make Profusehost The Best Free Webhosting
Reply With Quote

Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help me understand a few things abt my new PS2? Ritu Playstation 0 10-06-2008 11:14 AM
Things to do in Netherlands? Tim Travel 0 07-11-2008 09:22 AM
Some things I like to know about PR/SEO flickall SEO - Search Engine Optimization 1 02-08-2008 07:39 AM
SEO Things to get in top 10 flickall SEO - Search Engine Optimization 0 03-03-2007 10:03 PM
Things didn't work out as we hoped... imac600 Free Web Hosting Support 2 05-16-2006 09:43 AM


All times are GMT -7. The time now is 05:54 AM.

Skin Design By vBSkinworks



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Sponsored by Web Hosting


Profuse Solutions LLC

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80