-
One UL for a site linked to a file?
I'd like to have one list that I can change so that if I add a page I won't need to go back and change every UL on every page.
Is that possible without having to revert back to javascript?
Could I like put a division container and have a link to a text file or something along those lines?
-
-
No one else has any ideas...
I've looked all over the net and can't seem to find a good answer?
What do you think of using an iFrame?
<iframe src="your_Link_list.html" name="A" scrolling="no" width="575" height="250" frameborder="0">
</iframe>
Then the list can be targeted by the Iframe you could put this in the header for the links:
<BASE TARGET="_parent">
You think that would create any problems?
-
-
I'm not familiar with the <base> tag, sorry. That may work just fine, but I don't know it.
You can't really repeat parts of a page using just html. Using an iframe will be kinda weird.... yes, it would work, but it's kinda awkward and not too customizable.
You could use javascript or php, etc. but you do need some type of programmable language, I think. All you really need is a variable, then to display that variable at specific parts.
Better yet, with PHP (yes javascript, maybe, too) you could actually include the data of a text file and display that.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
-
The iframe would work, but a far more elegant solution would be to use a server-side language such as PHP.
Don't use Javascript.
-
-
If you don't have access to a server side language, javascript might help. But if you can use php (or even asp), that would be the best solution.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
-
Don't use Javascript.
If you can't use a server-side language, stick with the iframe.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks