HTML - A Newbee Needs Help With Html Frames /js And Collapse/expand Function
Hi,
i enclose the zip file, where are some files. If you click on 1start.html (best viewed in IE) and than click on "group1" and on "1.general1" it right frame should appear the content. So far so good. Later when I want to show/hide or collapse/expand the content and I click on the icon, something doesn't work. Can anyone pleease look in this code and tell me what's wrong. I seem not to know what i'm doing wrong. thank you all Similar TutorialsWhat is the HTML code for expanding and collapsing the contents, when clicking on a text, on a page? Just a plain and quick code for this option. Thank you very much. This is frustrating, I'm looking for that code, working in IE and Firefox. Please help! hey people im new to the html codes, and i was wondering if any of you professionals can help me with my question. i am trying to add a web tool feature on my site i make sell wall decals and need to add the feature were they click on the customize your own wall decal. and when they pick a certain font , they can type it into the text box to see what it looks like. here is a site that has a example of what im talking about: http://www.wallexpress.com/Create.htm ican any one tell me how to add this feature to my site?????? ppplllleeeaaassseee hhheeelllppp................ anyone! First let me say I am happy to have found this site. I am a HTML and DreamWeaver newbee. I have been a server engineer and network specialist for several years. I am now transitioning with the hope that I can have more control of my time, and hope web design will help accomplish that. I am at this point self learning using Patrick Carey's HTML, XHTML and Dynamic HTML. I need help with code for the following 1. . Create a style where all H1, H2, and H3 elements are centered, text is blue, and each has a 3 pixel ridged red border (all 4 sides of the border are red) 2. Create a class called td where all td table items in the class have purple text and a green background 3. Create a class called td.special where all td.special elements in the class have white text, green background, and font-weight bold 4. Create an ID called important where the element using this ID will have italic text that is vertically aligned to top 5. Create an HTML table having three rows, with three columns per row. Assign the td elements of the second row the class td.special 6.Create a complete HTML document that includes a rollover effect using one mouseOver image, and one mouseOut image. The name of the page is MyRollover.html. The initial image is named pictOff.gif, and the rollover image is named pictOn.gif. Using the appropriate mouse events, the pictOn.gif image will replace the pictOff.gif when the mouse hovers over the original image, and pictOff.gif will reappear when the mouse moves away from the image. Position of the images on the page is not important. Use any names you like for the interior names of items used in the script. These are the book assignments giving me trouble any help is greatly appreciated. I am trying to build a website on a free webservice provider for a game that I play. The game is called Batheo, and the chat that they have is horrible. What I would like to do is really just have a 4 frames 1 for the banner, 1 for the navigation, and 2 more both running vertically. heres the code <frameset cols=10%,* bordercolor=blue> noresize=yes> <frameset rows=20%,*> <frame src=http://www.justiceHome.0catch.com/Banner.html name=BANNER scrolling=no marginwidth=0 marginheight=0 noresize=yes> <frame src=http://www.justicehome.0catch.com/Nav.html name=NAV marginwidth=0 marginheight=0 scrolling=yes> </frameset> <frameset cols=60%,*> <frame src=http://www.justicehome.0catch.com/Blank.html name=CONTENT2 scrolling=yes marginwidth=0 marginheight=0 noresize=no> <frame src=http://www.justicehome.0catch.com/Welcome.html name=CONTENT scrolling=yes marginwidth=0 marginheight=0 noresize=yes> </frameset> </frameset> Now the page opens just fine and looks how I want it to look. Below is the Navigation code. <BR><a href="http://www.justicehome.0catch.com/Welcome.html" target="CONTENT"><font color="white">Home</font></a> <BR><a href="http://www.justicehome.0catch.com/Chatroom.html" target="CONTENT"><font color="white">Chatroom</font></a> <BR><a href="http://b1.clapalong.com/" target="CONTENT2"><font color="white">Batheo</font></a> all the links work fine but the 3rd one. The page will open but it wont do anything. If you go to Batheo.com on the homepage to the right it has you sign in. Once you've signed in a button that says Play Now will appear, click it and it will open the http://b1.clapalong.com link in a new window, if you arent logged in and you try to go to that address it will present you with a login and not open it in a new window. Anyone know of a way to build this code better and get the page to actually open properly. The goal is to have the game display and to the right have a seperate chat so we dont have to keep switching between pages, or download a chat service. Thanks for any and all help! I want to make a html frame that only shows a portion of the page is this possibble, if so please could you explain how for example if i just want to show the text entry box in google on my frame. Thanks Hi everyone, I'm new to this forum and I need some help. I look after a website which uses frames, one for the navigation bar and one for the main content. I have the index.html file as the file which sets up the framset: Code: <html> <HEAD> <TITLE> Hoylake Sailing Club </TITLE> <META NAME="KEYWORDS" CONTENT="hoylake,"sailing,club,hoylake sailing club,hsc,HSC,wirral,wirral sailing"> <META NAME="DESCRIPTION" CONTENT="Hoylake Sailing Club is a sailing club based in Hoylake on the Wirral, North West, England"> <META http-equiv=Page-Enter content=blendTrans(Duration=1.5)> </HEAD> <frameset cols="170,*"> <frame name="Content" target="Content" src="frameset/index-frame.html" scrolling="no" noresize> <frame name="MAIN" target="MAIN" src="index-home.html" scrolling="auto" noresize> </frameset> <body> <p>This page uses frames, but your browser doesn't support them.</p> </body> </noframes> </frameset> </html> I need to make this so that I can give direct links to a page on the website (eg. openday.html) but obviously it needs to go through this page so that it will load the frames. I was thinking that with the right code, something like 'www.hoylakesc.org.uk/index.html?openday' could be done Thanks in advance, James Melling. Hey guys! I'll get right to the point. Here's my issue. On my bands website I have created a place where you can view all of our past setlists. (take a look at the image below now). The way I have this set-up right now is the links on the right link to a new HTML document and everything is the same on the page except it opens the show that you clicked on in the left box. Which means that every time we play another show and I add it to the list, I have to go to each and every show HTML document and add it. Now I don't know if frames are the right solution to this problem, but I really want everything on the page to stay that same but when you click a show on the left it would just open a the show in that left box. I think PHP would be the correct solution, but I'm lost when it comes to that too. Also, if you wanna check it out, it's actually on the web at: http://aqueousband.com/setlists.html So really I'm just looking for any solution you guys have. Thanks! Nick Hi, We are planning to use HTML frames in our product. Does anybody know any web standards which prohibits its use? cheers kk Hi everyone, I'm new here and have a new website for my little craft business - I have designed it totally from scratch writing the HTML by hand (in Notepad!), using what I learned from some Google searches: http://kristenhill.sasktelwebsite.net Even though I have keywords listed in my home page (<Meta name="Keywords" content="...), Google will not pick up any of my content when I search for any of it! Someone suggested that it might be because I am using Frames and that I should switch to plain HTML combined with CSS. I have no idea how to do that as I am new to HTML (and don't know if that suggestion is even correct), and am wondering if anyone can help me! I would be happy to send you my code and would really appreciate any help, even if it's a sample of how I would translate it from its current state with Frames, to a new improved version using HTML & CSS. Thanks in advance! Kristen can the anchor tag be used in HTML tables, such that if an <a> tag is used in one cell of the table, then its target is another cell of the same table. very much like frames, but can it be done using tables. if so, how? Hey, my first post here, and I needed some help with coding part of a website. So here's my problem. Part A of the picture (below) needs to stay the same even though you've clicked on a link to another page. Part B of the picture is content that needs to change with the page. Now, I could copy and paste the code from one page to another for Part A and then manually change Part B, but I would much rather like to only have to edit Part A once each change. How could I go about doing this? Any ideas or suggestions would be great. Here's the a link to the picture, and thanks for your help :-) -Daft http://img214.imageshack.us/img214/4480/reptx9.jpg <---- BIG Picture So a few questions, If you have a webpage within a frame, be it a regular frame or an iframe, and there is a link in the webpage inside the frame, if no target is specified for that link then by default the link loads in the same frame as the original web page, in all browsers, correct? Secondly, what is the syntax for specifying a target while doing a meta tag automatic refresh? Thanks for the help! Hi! I am new to HTML. Stuck at this. Could someone please help? Need simple HTML code to create frame like this: Image below. Thanks i'm devloping a sharepoint website and I want to include 2 asp.ne listpages from our company's CRM webapp. sharepoint provide a way to use the <iframe> tag in a webpart. so i could say <iframe src="http://columbus.cereusace.be:######/Cereus/_root/homepage.aspx?etc=2&viewid={####################}" , and this gives me my list, but thje normal popups that are created when clicking a listItem are not working, so instead of putting the 2 lists I want to show in webparts, i made this simple html page. <html> <frameset cols="50%,50%"> <frame src="http://columbus.cereusace.be:######/Cereus/_root/homepage.aspx?etc=2&viewid={####################}"> <frame src="http://columbus.cereusace.be:######/Cereus/_root/homepage.aspx?etc=2&viewid={####################}"> </html> this gives me the page i want to show my users, the contactslist, with out IT workers, next to the joboppurtunities list. But again, i cant open the detail vieuw of a worker from the list, when you open the page that are in 'src' this works fine. so the frames are the problem. is there a way to resolve this? Hi, I am currently making a website, I have used an inline frame on my site, and I am having trouble getting it to do what I want it to! lol Basically, I have put a menu on the left of the page, and an inline frame in the middle, now, I want it so that when you click on a link on the left, the whole page stays the same, but the inline frame will go to the requested page. So basically, a website inside a website if you see what I mean. I have tried using <a href="http://address.com/page.htm" target="mainframe"> </a> but I still can't get it to work. If anyone has any ideas it would be great!! Thanks a lot. ps: I should also add, I am using tables on my site, and the menu is in a different table to the iframe, does that make a difference? I have browsed the search function and found some topics that are helpful, but when I try the codes that are stated on those pages, it creates another iframe on my page, but it works with that one, but the new iframe is always in the wrong place, I am using MS frontpage by the way, and I added my iframe by click insert, and inline frame. The code I used that worked, but put another iframe below the menu, was this one: <p><a href="http://www.websitename.com/page.htm" target="frame">About</a></p> <!-- #BeginEditable "content" --> <iframe id="frame" name="frame" width="580px" height="450px" scrolling="auto" frameborder="0" Your browser does not support frames or inline frames.</iframe> <!-- #EndEditable --> It is done like that, because the page I am linking to, isn't stored on my site, but I don't think that should pose a problem, as it should display the same as it would if it was stored on my server, or so I would have thought? I look forward to any replies, and I thank you for taking the time to read this long post. Hi, well I didn't know where to post this, but it's about coding and HTML so I think this is it. I would like to add audio (a MP3 file) to my web page, but I have no idea how to do this by HTML. I would like to know: 1.- How do I add a music file (HTML) 2.- Which is the code for the On and Off button. 3.- How exactly do I use frames (i'm totally new in that aspect) in order to have the same music going on in every part of the site even if I change of page instead of strating over agian. Thanks for your help. Hello, i found this code Code: <!-- Collapsible Menu Script. Created by Kyle Edwards. Please keep this notice intact. --> <!-- Below is the code for the hyperlinks that expand and collapse the menus. You need to do the following for each menu: 1. Create hyperlink code that looks like this: <a href="#" onclick="collapse_menu(menu1, 0)">The value of the link goes here.</a><br> Note: Change menu1 to the name of the menu, and change 0 to the number of the menu. Note: 0 is the number of the FIRST menu. 2. After each hyperlink, type in code that looks like this: <span id="menu1"></span> Note: Change "menu1" to the name of the menu. 3. Follow the instructions inside the <script> tags. They follow //'s. --> <p> <a href="#" onclick="collapse_menu(menu1, 0); return false">Menu 1</a><br> <span id="menu1"></span> <a href="#" onclick="collapse_menu(menu2, 1); return false">Menu 2</a><br> <span id="menu2"></span> <script language="javascript"> //Collapsible Menu Script. //Created by Kyle Edwards. //Please keep this notice intact. //This defines the arrays that contain info about the menus. Do NOT edit. var on_off=new Array(); var menu_code=new Array(); //Below, define number_of_menus. It should be equal to the number of menus you have. number_of_menus=2; //Here we define the code for the menus. Inside the quotation marks, type in the value of each option. //Note: After each option, you need to put a <br> tag. //Note: If you want to indent the options, type for each space of indentation. //and a </blockquote> tag at the end. //Example: " Option 1<br> Option 2<br>" //This puts two spaces at the beginning of each option. menu_code[0]="Option 1<br>Option 2<br>Option 3<br>"; menu_code[1]="Option 1<br>Option 2<br>Option 3<br>"; //Everything below this notice is the code that expands and collapses the menus. Do NOT edit. for (loop=0; loop<number_of_menus; loop++){ on_off[loop]=0; } function collapse_menu(menu_id, menu_number){ if (on_off[menu_number]==0){ menu_id.innerHTML=menu_code[menu_number]; on_off[menu_number]=1; }else{ menu_id.innerHTML=""; on_off[menu_number]=0; } } </script> It's exactly that kind of Code i need, i dont want any more Features on my Colapse Box. The only problem i got is that if i try to add a link for an Option, the Colapse Box dont work anymore. Hope you can help me hi how to make a table element collapse? |