HTML - Tree Question
Is there anyway to do an expandable/collapsable tree in html without using javascript ? I can only use standard html so what are my options for a tree?
Thanks Similar TutorialsHi, This is jyothi, i am creating tree folders in html but i don't know the correct script. Can anyone please help me. Hi all - forgive me if I have posted this in the wrong place (noob, 2nd post) I'm now learning about XML and doing quite well, or so I thought. For example, lets say I have the following XML file... Code: <?xml version="1.0" encoding="iso-8859-1"?> <!--<?xml-stylesheet type="text/xsl" href="stylesheet.xsl"?>--> <news> <story> <headline>Headline</headline> <main>Main story</main> <submain>Sub story, new para1</submain> <submain>Sub story, new para2</submain> <submain>Sub story, new para3</submain> </story> <story> <headline>Headline</headline> <main>Main story</main> <submain>Sub story, new para1</submain> <submain>Sub story, new para2</submain> <submain>Sub story, new para3</submain> </story> </news> I can only retrieve 1 'submain' line. The question is "can I have more than 1 'submain' tag within each 'story' tag"? All the tutorials I have read are either too simple and have just 1 or 2 elements or are way too complex for me to grasp at this stage. Any help would be appriciated. JollyNolly hi, all!! i have been searching for two days for a certain type of file tree/faq menu script. i don't know quite what to call it, and that is probably why i can't find anything!! okay, what i want is a basic file tree. ie: +general info +category 1 +category 2 and when you click on one of those categories, it looks something like: +general info -category 1 +topic 1 +topic 2 +topic 3 +category 2 and when you click on one of those categories, it looks something like: +general info -category 1 -topic 1 this is the information about topic one. ideally, it will appear when you click on topic one and disappear when you click on topic one. when topic one is originally clicked, its + will turn to a - . When topic 1 is clicked a second time to hide the text, its - will turn to a +. +topic 2 +topic 3 +category 2 i cannot use a database for this. i have been looking for html / javascript i hope this makes sense... thanks in advance! erin Its been many years since I did any HTML programming so I know next to nothing. I want to create a very simple local site that will show a layered bill of materials based on files and folders that were already created. I have a large number of folders and files in Windows Explorer. These files and folders make up an assembly's BOM and is structured in WinExp where the top folder is the very top level assembly (ASY1). Inside this folder are the next level of subassemblies (SUBASY1, SUBASY2, SUBASY3, etc.) Inside SUBASY1 there will be a list of parts or more subassemblies (PART1, PART2, PART3, etc...) Since these already exist is there a way using html code to show them in a web page in this nested/layered format, where if I click on a SUBASY it will bring up its contents on the page. etc...) Which I guess is almost like windows explorer itself but as a web page. Thanks Patrick Hey guys i want to create a tree view by using html and java script , i tried lot but failed . So can u help me ?? it would be great if u will provide with certain code to build it Thanks First, forgive me i'm a noob! Am attempting to rebuild our sorry website. Am kinda picking the whole html thing up, however, am building in frontpage and expressions because those are the programs i have. page i'm working on is: ygcc.org/testing i embedded a video, but would like to position it to line up w/ everything else. i like how it looks centered, but its not aligned correctly w/ the other objects on the page. also, everything else is "positioned" on the page, whereas the media is "aligned" so, it doesn't stay put if i resize my browser next problem i'm having is jump menu or tree menu. i want a drop boxes, such as are on the page, however, would like it if it was a horizontal menu, not individual boxes like they are. right now, the drop boxes are only drop boxes (for "forms") and do not hyperlink. if i "insert jumpmenu" then, i cannot put them beside each other in a row. if i attempt to put them in a row, they are like steps, not straight across. i d/led a program to help w/ menus, but i don't even understand it. when i attempted what it told me to do, i do not get a menu. i know i need to put javascript in, but apparently do not understand this enough to actually do it. in short i would truly appreciate some help. thanks in advance I am planning on making my own website and I stumbled across one which I like the design of. I am particularly interested in the buttons of this site (along the left hand side) but cannot figure out how to replicate them. http://treacle.hewwo.com/jazz/oj/index.html I am using dreamweaver and trying to use the html to make my own similar round edged buttons but failing miserably! Any help would be appreciated. Hello, I'm new here, so like, hi and all that good stuff, hope everyone is well! So, my question. When you type into your browser, cnn.com and it resolves to http://www.cnn.com, is that done via the .htaccess file? Type cnn.com into your address field in your browser to see what I mean if you don't get what I mean. Some sites don't resolve to the www, like gizmodo.com (type that into your browser to see what I mean). I've got two parties saying different things, one says it's DNS, one says it's .htaccess. HELP? Thank you! Hi there, great website! been browsing the forums and searching and havent found what i am looking for, so here goes a post. I have my own website, and I also have a webmail account with my hosting company (ixwebhosting) what i want to do is make 2 little boxes on my website, where you put username and password, and have that then take you to the ixwebhosting webmail login and go in directly to my webmail, can that be done? any ideas or links much appreciated! thanks 4 ur time! What exactly is XHTML. how much different from HTML is it? and, do I have to re-learn a whole bunch of stuff to write valid code with it? _________________ Golf Communities visa credit card review Is there anything wrong with thia code? <h1><font color="000000"><em>Recycle With Us</em></font></h1><br clear="all" /> Shouldn't the <h1> tag be closed last? Thanks, Karen Hello people, i am a new person here, so Greetings i guess anyway i have not so much of a problem, but i need a opinion. there is a site, that has Help&Rules, and they are written in some other page on that site, and they are out-dated, so i decided to re-write them. Now, i learned some HTML at W3schools, and i think i could do a bit of Coding. Now the admin, has no knowledge of HTML or other things, and he couldnt find the Code of Help&Rules on the Server he owns, so i decided to take this way Now here is where i need your opinion, if i did the right thing. I went to the Help&Rules page i opened the Source, i copyed it in some Edit-program, did the updates, rewrite some things. Now the only way to send the code to him was throu some ingame forum mesaging system-i hope that doesent destroy the code in any way-. Now what i want to know is this. When he finds the Code Help&Rules are made of on the server, will he be able to replace it with the Code i took from the pages Source, ? or is the Source somwhat different from what the Code on the Server is. can any1 plz tel me k whn we give a background image to an html file can we change its type frm tile to stretch or center? if yes, hw ? plz tel me.... So I'm working on my web page for my martial arts studio and I'm trying to figure out how I can do something. the page i have so far is www.boulderkempo.com/index2.html so what I want to happen is a black background on the main frame, and have a white box below the image for "home" with text. I also want all of these to end at a right side of the flash top part. I'll mess with the image size, but I need to know how to make a text box with a diffrent color background then the main background. I 've seen websites where they have text in a framed box, or it has a different color background. my blog is set up that way for example... http://wrxminion.wordpress.com/ (not trying to self promot.. my blog sucks anyway, i never update it) the other thing I'm trying to do is get the text to wrap to the next line at a certain point on the web page. I use dreamweaver and when i put margins it wraps the text at different window sizes in the browser. I really suck at webdesign, i'm only doing my own becouse i don't want to have to pay someone. sorry for such noob questions my main page is www.frankdeck.com Thanks alot for your guys help! Is there a way to make the number for a list item in an ordered list a hyperlink? For instance, where an ordered list is being used for footnotes, can the numbers be set up to link to the source documents? If so, what does the markup look like? Thanks. Hi, I was wondering if it is possible to create an image that floats where ever you put it on the page. For example, it would float above this text, blocking it out. Basically I want it to ignore anything around of underneath it. I would also like it not to use scripts, if possible. Oh and one more thing, is it possible to do this between the body tags only? Thanks! Hi, is it possible to create a DTD for a xml-file, which can have a structure like any other xml but if in a node a attribut x appears in combination with an attribut y there are some rules which attributs have to appear in that node too. Thanks... p-flash Hello, I have a small customer list, maybe 70 customers, and i want to display on my website in a table with hyperlinks to their website and i want to sort them alphabetically. I entered all the information in MS excel, but when i import the data into dreamweaver cs3 i only get the names and not the hyperlink. Any ideas on how i can do this? I also don't have much knowledge on databasing, so i don't think thats an option unless its the only way, then i'll have to learn it. Thanks Hello, I am WGAnubis. I'm fairly new to the world of HTML, having taken a class on it last spring semester. Lately I have been designing sites for the group of online video gamers I run with and have come up with a rather cool looking demo of the site. We all like it but im not entirely sure on how to impliment the design in the way it looks. Im fairly certain I need to use frames but I dont think it would be able to retain the "connections" found in the following image: As you can see, each "window" is connected to each other by what looks like steel connectors. I'd really like to have the website look exactly or close to the demo, but if I use frames im not sure how that would be possible. Is their another way I can go about doing this or do I have to rethink the demo? Hi, I am a bit of a noob so please bear with me if this sounds a simple question. I know all about precedence, but I don't know the right way of dealing with an issue I have. I have a number of nested lists containing 2 levels of UL LI. Whilst the level 1 styles may change, for instance I might have one style for the top bar on the website and another for the main nav, the 2nd level could be re-used in both instances. Lets say I create a generic style - "list-style1" .list-style1 {border...} <ul id="top-bar"> <li><a>level1</a> <ul class="reset-level1 list-style1"> <li> <a>level 2</a> </li> </ul> </li> </ul> When I'm styling the list, I reference the id #top-bar and then because I want to apply a generic style to level 2, I create another class called reset-level1 to reset li and a styles. The problem I have is that the reset is specific to #top-bar it takes precedence over my generic class .list-style1. I can of course hack it, but wondered how it can be worked round properly so that I can use my generic styles. Hope this makes sense. Thanks John |