Tyssen
Members-
Content Count
1,159 -
Joined
-
Last visited
Everything posted by Tyssen
-
Integrating One Html File Into Another without embedding
Tyssen replied to switch's topic in Programming
You can put whatever you want between the includes. Same as in the includes themsevles. An include can also just be a single line of code if you want it to be - it doesn't have to be a large chunk of code like a header. The reason I laid out my previous post the way I did is cos I'm guessing you don't know much PHP yet and are wary of using PHP includes for that reason. I was just trying to show how you how easy it is to use them without knowing much PHP. In reality, my header include is a bit more complicated than that cos I've actually included it in a function which can receive different variables from different pages to change the title, meta description and other lines of code too. But it doesn't have to be any more complicated than simply pasting HTML into it. -
Web Browsers Safest Internet Web Browsers
Tyssen replied to Antihack's topic in Security issues & Exploits
Like what? -
So are you trying to sell Flash templates? Cos at the moment, your site doesn't really look like that's what it's all about.
-
What's the business actually going to do? Why do they need to be Flash templates?
-
Unordered List Css Layout two rows of list and sublist
Tyssen replied to Lozbo's topic in Programming
Actually Jim, using javascript is the only way to get these type of CSS dropdown menus working for IE browsers as they don't (as yet - IE7 might be different) support hover for any element other than the pseudo classes. (It's still a better option that a DHTML menu which is made up solely of javascript.) The other option is to use something like the whatever:hover, but again, it is affected if JS is turned off. The solution is to make the links that bring up the dropdown menus go to an actual page as well where the submenu links can be accessed by those who can't see the dropdowns. And no, I didn't provide that link you've given. -
Unordered List Css Layout two rows of list and sublist
Tyssen replied to Lozbo's topic in Programming
It's the HTML comment in your JS (<!--) that's killing it in IE. As for why your 2nd level list isn't working, I'm not sure, but you're referencing the wrong ID in your JS - it should be navlist, not nav (but that doesn't fix it). -
To make older extensions/themes compatible with 1.5, get Nightly Tester Tools.
-
The @import line is fine. The reason it is used is because older browsers (v4) which don't support CSS2 don't understand it which means they don't end up getting sent a bunch of rules that they can't interpret. Your javascript won't work cos it's outside the <head> section of your document. As is the script to get your dropdowns to work. You also don't have a doctype which can give you problems as well.
-
I get a page that says: "Xysis media advertising company".
-
What Do You Think Of E-bay? any experiences?
Tyssen replied to Peaktao's topic in Websites and Web Designing
I've bought a few things from eBay and not had any trouble. The only one that was dodgy was when we tried to buy some tickets for a festival and the guy obviously didn't think he'd got enough for them cos they were readvertised almost immediately. We got in contact by phone and agreed to meet up on the day of the event to do the exchange but when the day came he was uncontactable. As it turned out, it didn't matter anyway cos the event had some more tickets they'd held in reserve to sell on the day and we got in for the same price as everyone else. -
If you want to create a more accurate path around the figure to be selected, I'd use the pen tool and then save it as a path (in case you make mistakes or want to use it again later on).
-
Have you got Adblock installed?
-
I asked cos the last time this discussion came up the points you were making sounded like they came from someone with no experience in this field. I made the wrong assumption. Fair enough if that's your take on things - it's certainly not mine and you're definitely the only person I know who holds those views. I could argue the toss with you over this but I can't be bothered really. You're obviously comfortable with your position, as I am with mine and it's highly unlikely anything said by either of us would change the other's position.
-
How will people serve up Flash content without the <object> tag?
-
Integrating One Html File Into Another without embedding
Tyssen replied to switch's topic in Programming
Usually the amount of slow down is so small as to be almost unnoticeable. I don't know if Xisto is configured to accept includes in HTML documents but it is for PHP documents. Don't worry if you don't know any PHP. Just create your page as you would normally, but instead of saving it as .html, save it as .php and then where you want to include the code that is to appear on all pages put: <?php include('myInclude.htm') ?>And that's it. To give you an example, a site I created recently looked like this: <?php include('header.php') ?>Content for individual page<?php include('footer.htm') ?>Every page looked like that except for the different content in the middle. -
It doesn't really make much difference - it's just an issue as to its readability by you and others.
-
It it fully supported but most of the time when you see it in newbies' stylesheets is cos they don't properly understand the rules of CSS inheritance or specificity. They can't figure out why a certain rule is not working so they give it !important when really they should be searching for the cause of it not working as required.
-
You talking about this one?
-
WTF? You're demanding an apology? What does anyone have to apologise for?And if that weren't bad enough, you then summarise what everyone else has already written in this thread and end up not supporting your original statement.
-
From this site:
-
Integrating One Html File Into Another without embedding
Tyssen replied to switch's topic in Programming
I've said this 3 times already! If it's JS, it can be turned off!!!! -
Integrating One Html File Into Another without embedding
Tyssen replied to switch's topic in Programming
Why are you leaning towards client side when, as already pointed out (twice), if it's client side, the client can turn it off (whether intentionally or not)? Which when you're talking about the actual code of your site, is a bad thing. -
Integrating One Html File Into Another without embedding
Tyssen replied to switch's topic in Programming
They work in a very similar way to the js method you posted. You create a file with the piece of code that's to be inserted into another file and then you write a line of code in that file that calls the include. For PHP it looks like this: <? php include('yourfile.htm') ?>In ASP and HTML it looks like this: <!-- #include virtual="/yourfile.htm" -->Some configuration of the server is required to get it to work for HTML as it is not usually enabled by default. PHP, ASP, JSP, Coldfusion etc. all enable them by default. You can call any file to include in your document: .htm, .txt, .inc, .asp, .php. In fact, you can write scripting code in a .txt file and it'll work as intended if it is included in a file with the relevant extension (e.g. .asp or .php). I'm not aware of any restrictions (except if you're server isn't configured to accept them which wouldn't be the case if you're using Xisto). The benefits over the js method is that they can't be turned off and rather than being written to the page as javascript, they get written as HTML (or whatever else you've included). -
Integrating One Html File Into Another without embedding
Tyssen replied to switch's topic in Programming
It may work on almost any host, but unlike server side scripting languages, javascript can be turned off which means that users of your site will be missing whole chunks of the page. W3Schools figures show that about 10% of users have js turned off which is a very large slice of your audience who won't be able to use your site properly (especially if you're using it to display your navigation. Stick with server side includes (they can be configured to work with HTML, no scripting languages required) - they're the industry standard. -
Integrating One Html File Into Another without embedding
Tyssen replied to switch's topic in Programming
It sounds like you're talking about server side includes.