| |||||||||
| |||||||||
| Not A Member Yet? Register today and become part of the community. |
| |||||||
| Programming / Scripting / Coding Forum Discussion HTML, C++, PHP, CGI, JSP, perl etc |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| 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. |
| |||
| 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 |
| |||
| 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. |
| |||
| 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
__________________ Regards Snoop1990 (former staff team member) Software: My Projects: PcCom.info - the computer community top-domain.co.cc- co.cc domain services up-next.co.cc- the latest movie trailers |
| |||
| 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:
|
| |||
| 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! |
| |||
| 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?) |
| |||
| 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?) |
| |||
| Quote:
__________________ Regards Snoop1990 (former staff team member) Software: My Projects: PcCom.info - the computer community top-domain.co.cc- co.cc domain services up-next.co.cc- the latest movie trailers |
| |||
| Quote:
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.
__________________ Regards Snoop1990 (former staff team member) Software: My Projects: PcCom.info - the computer community top-domain.co.cc- co.cc domain services up-next.co.cc- the latest movie trailers |
| |||
| 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! |
| |||
| 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: Regrades Snoop1990
__________________ Regards Snoop1990 (former staff team member) Software: My Projects: PcCom.info - the computer community top-domain.co.cc- co.cc domain services up-next.co.cc- the latest movie trailers |
| |||
| 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. |
| |||
| 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 |
| |||
| 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. |
| |||
| 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.
__________________ Regards Snoop1990 (former staff team member) Software: My Projects: PcCom.info - the computer community top-domain.co.cc- co.cc domain services up-next.co.cc- the latest movie trailers |
| |||
| except uni.cc you can make free domain at co.cc this website address is: Code: http://www.co.cc take enjoy
__________________ Make Profusehost The Best Free Webhosting |
![]() |
| Thread Tools | |
| Display Modes | |
| | |||||
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 |