greetings there, new here so please don’t eat me as well as sacrifice me on the dark gods of website design.: laugh:
I’m designing a web site for the boss, it’s been a lengthy while since I’ve done website design so I’m relearning the majority of everything but that’s besides the issue.
The web site will end up being small, tiny actually, I’m talking 5 VARIOUS pages or much less, mostly text (price set of services, a little information on that spa, contact info) and maybe 10-20 graphics max, most of the being small art logos of various firm products we use.
The planning will be simplistic and minimalist, we don’t require anything hugely pretty (no flash, asp, php)
There is nonetheless one Idea that I used to be toying with before and I’m pondering applying it these.
I would really prefer your input for this idea, pros and cons that you may see as very well as alternatives to my idea.
From the title I think you are able to figure out precisely what this idea is but well then , i’ll exmplain it regardless
A one page web page, using javascript to display the right content based within the users selection and not load a new page whenever, and without making use of flash. Even the menus buttons themselves would change according to the users selection (I live in a multilingual town so multilingual web sites are a must)
I do believe I have a fantastic grasp on the easy methods to implement it and ensure it is cross platform, Ive already tested microscopic sample of code and it also works on both equally firefox and IE (albeit it can seem a bit less responsive that will fast clicks about IE)
It would work if you ensured your website could still become used if Javascript was switched off.
Good level ljm.
Having a compact site like you described is better than having no site by any means.
While the site may not fancy, to insure who’s works like you will need it to, you need to put some period into it (allow some time for trial plus error).
According to what you’ve referred to, you might be better of implementing flash…….. but it that are me reading it prefer that.
All the best …….
The AJAX you’re talking about can be lingering if JS is not power on. And lots connected with people do transform it off. It sounds like a cool approach, and it is definitely, if not due to that weakness. And also because you need to go to some extra lengths to be able to make your websites bookmark-able.
A full page-load shouldn’t be problems.
GMan: flash is perhaps an option but I’d preffer avoiding it, every time I’ve tried to master it I’ve found it to become pain in the actual behind. I think me and expensive are just possibly not compatible.
Steax
Are there ways to discover if JS is usually disabled then head to an alternate variation
What would be a solution for a different version, when I say easy methods to a while seeing that I’ve done website development, I’m talking whenever frames were that IN thing and every web page had them. Personly I by no means liked them but at that time they were some sort of necessary evil.
Among the reasons behind my idea is always that I want to be able to minimize/eliminate page/menu refreshes whenever a button is usually clicked.
Again I’m certain flash will be mentioned here, but with adobe flash you get loosing bookmarks too.
Is employing a server-side language plausible (PHP, ASP, CF)
It could be pretty simple also , you could even move it off with out a database (use a new text file) because the site is so small.
I’ve done asp before to accomplish do dynamic site design using sources but I really don’t see how it might apply in this specific situation.
http: //daakuryu. organizedconfusion. info/
this is a quick and soiled example of just what I meant.
You of course need to have JS enabled to discover the example.
as well as the code behind it
<! DOCTYPE HTML CODE PUBLIC " -//W3C//DTD HTML CODE 4. 01//EN" " http: //www. w3. org/TR/html4/strict. dtd" > < html code lang=" en" > < head> < meta http-equiv=" Content-Type" content=" text/html; charset=iso-8859-1" > < meta name=" Content-Script-Type" content=" text/javascript" > < meta name=" Content-Style-Type" content=" text/css" > < title> Test< /title> < style type=" text/css" > <! -- switch padding: 1ex; width: 7em . show show: block . hide show: none --> < /style> < /head> < body> < switch onclick=" if (document. getElementById('page1'). className == 'hide') document. getElementById('page2'). className = 'hide'; document. getElementById('page3'). className = 'hide'; document. getElementById('page1'). className = 'show'" > Web page 1< /button> < switch onclick=" if (document. getElementById('page2'). className == 'hide') document. getElementById('page1'). className = 'hide'; document. getElementById('page3'). className = 'hide'; document. getElementById('page2'). className = 'show'" > Web page 2< /button> < switch onclick=" if (document. getElementById('page3'). className == 'hide') document. getElementById('page1'). className = 'hide'; document. getElementById('page2'). className = 'hide'; document. getElementById('page3'). className = 'show'" > Web page 3< /button> < div id=" page1" class=show> This is certainly page 1< /div> < div id=" page2" class=hide> This is certainly page 2< /div> < div id=" page3" class=hide> This is certainly page 3< /div> < /body> < /html>
Of course the real thing would use a function considering the ID being passed rather than all those lines, and I have pinpoint a way to express to it to obscure all other page id’s in one shot rather than x quantity of lines per quantity of pages to obscure but that shouldn’t be too complicated
Yeah I concur totally – your safer way will be something like a refresh using the appropraite SSI furnished by PHP and also similar. If good external style sheets are employed and each article has identical components apart from content, it almost appears like only one section of the page changing (with a fantastic load time and a following wind).
" The safer way will be something like a refresh using the appropraite SSI offered by PHP or similar. "
i’ve truly no clue just what exactly an SSI is definitely nor have