can it be done with html???...... read on

Hi there everyone, its my first visit to this forum, and from what i have read so far, it looks like you guys are the answer to my prayers!!.<br />
<br />
I work for a large multimedia company in the UK, we mainly produce interpretive kiosk installations (programmed in macromedia Director) and so we dont do very much web based work, hence the reason for my posting.<br />
<br />
At the moment we are re-doing our company website (loooooooooong overdue) and there are a couple of questions that i need answers for (im sorry, you'll have to forgive our html ignorance). our lingo programmers are having to learn ASP and fairly advanced HTML which is proving difficult within the timeframe and budget we have been given, so here goes.<br />
<br />
Q1. Obviosly we know that it is possible for html to detect whether a browser has flash / shockwave etc, but is it possible to substitute simple .jpeg's or .gif's in place of a flash movie if the target computer is missing the plugins?<br />
<br />
- For Instance: on our home page at top left there may be a company logo, could HTML select the correct file to place here (flash or animated gif) depending on the browsers installed plug-ins?<br />
<br />
Q2. Im not quite sure of the correct term, but we need the site to 'auto extend' at either side of the design space. We can get it working one way, but not both at the same time...<br />
<br />
- For Instance: say our site's design approach was based on the french flag. is it possible to make BOTH the red and blue sections extend outwards left and right when the browser window is re-sized? I guess it would be nice to know whether it worked 'up & down' too!<br />
<br />
I think thats it for now, any help on these matters really would be greatly appreciated.<br />
<br />
michael<!--content-->Q1: You could use javascript to detect whether the visitor has the plugin, and then redirect them to the appropriate page. But you would still have to write two pages, once with the flash, once with the gif or jgp files.<br />
<br />
eg indexfla.asp and indexjpg.asp or something similar. Since you are using asp, is shouldn't be hard to have the textual contents of those two different pages automatically have the same text.<br />
<br />
Hope this makes sense.<!--content-->WOW, thanks for the prompt reply!...<br />
<br />
thats kinda what i thought you were gonna say, maybe we'll leave the flashed version for now....<br />
<br />
any takers on the autostretch thingy??..... btw, i should point out that we're using dreamweaver to author the site (cue the sound of a million html coders shouting "NOTEPAD"..)<br />
<br />
thanks again<br />
<br />
michael<!--content-->i'm not 100% sure, but in later versions of macromedia products (Flash 5, and Dreamweaver UltraDev) there is an option to set an image in the same place if the viewer doesnt have the required plugins for their browser. (NOTE: some older browsers cant handle the flash plugin).<br />
<br />
as for the streach of an image... (i need to see an example of small size and large to have the full idea here) but you might consider asigning an image to the background of a cell and size the height to the same as the image (in pixels) and as for width, let it be in percent %. This will automatically shrink and grow the image left to right... as for height & width... that will require some javascript that is avaliable on the a1javascripts.com (listed above in the navigation) You will want to have the image lines vertical and horizontal ONLY, for if the image has curves it will display "pixelated" due to the streach.<br />
<br />
i know i have the script for this somewhere on my system... i'm searching around for it now...<br />
<br />
hope it helps!<br />
chris<pixelmonkey>:monkey:<!--content-->thanks chris, a great help. its getting late now, so i'll have a hunt around for the script tomorrow - but if you come across it.. send it on, that would be luverly mate...<br />
<br />
i think you got the jist of my incoherent ramblings!... i'll get the coders to have a hunt around in dreamweaver for the options you mentioned and we'll have a play!... tell you what, that bloody proggy scares the hell out of me!...whats with all the handles that are impossible to grab??? i'll stick to photoshop and max ta very much!<br />
<br />
once again guys, ta very much....what a result!<br />
<br />
michael<!--content-->hey there again guys and gals...<br />
<br />
another quick question if you dont mind!...<br />
<br />
On our new site we have a modeless window pop-up. My question is this....<br />
<br />
- is there a way to remove the title and status bars so that IE doesnt display them?<br />
<br />
thanks once again (in advance!)<br />
<br />
michael<!--content-->so you are saying that you have a popup that has teh title and staus bar? if it is a poup then you can take the status bar off. also you can use a chromless window for a popup.<br />
<br />
I might have some on my site, let me look, oh yeah here we go<br />
<br />
<!-- m --><a class="postlink" href="http://www.snippetlibrary.com/code.php?id=5&kid=20&catname=Popups">http://www.snippetlibrary.com/code.php? ... ame=Popups</a><!-- m --><!--content-->thanks very much sir......that is FANTASTIC<br />
<br />
much appreciated!<!--content-->Hi Mikieluv<br />
As to regards your "French Flag" idea all you need is a fixed width table centralised so when the page is resized the table(white) would stay in the middle and the extra space either side (red,blue) would streach to fill the space much like the fourum you are looking at right now.<!--content-->thanks Bonkom....we'll give it a try!<br />
<br />
SCOUTT,<br />
<br />
so very nearly!!!!.....the only problem being that the pop up needs to be 'modeless' so that it cannot be hidden behind the main site window, <br />
<br />
plus, our coders tell me that they have used a dialog box to display the pop up....whatever that means!<br />
<br />
....perhaps you might know what the hell they are talking about.....perhaps i ought to tell them to post their own bloody questions!...perhaps i should learn to code myself?<br />
<br />
HAHAHA .....NEVER!!!!!!!!!!<!--content-->Also i have just found this for the Flash/No flash problem<br />
<!-- m --><a class="postlink" href="http://www.javascriptworld.com/scripts/script02.10.html">http://www.javascriptworld.com/scripts/script02.10.html</a><!-- m --><!--content-->brilliant bonkom.....yer a diamond<br />
<br />
Scoutt, if you want to have a look at the modeless window im talking about...<br />
<br />
<!-- m --><a class="postlink" href="http://www.mindwave.co.uk/draftstructure/index.html">http://www.mindwave.co.uk/draftstructure/index.html</a><!-- m --><br />
<br />
then enter the 'project' section > enter a project from the left hand nav bar > click any of the 'media' links that appear in the right hand nav bar<br />
this will give you an idea of what we need to achieve... <br />
<br />
btw, if anyone wants to crit the design.... please feel free<br />
<br />
michael<!--content-->I get a gateway timeout<!--content-->oooops..... sorry<br />
<br />
<!-- m --><a class="postlink" href="http://www.mindwavemedia.co.uk/draftstructure/index.html">http://www.mindwavemedia.co.uk/draftstr ... index.html</a><!-- m --><!--content-->alll that is is a popup that has focus all the time. you can do that effect by using that script that they have.<br />
<br />
<br />
<script Language="JavaScript"><br />
//Modeless window script- By DynamicDrive.com<br />
//for full source code and terms of use<br />
//visit <!-- m --><a class="postlink" href="http://www.dynamicdrive.com">http://www.dynamicdrive.com</a><!-- m --><br />
<br />
function modelesswin(url,mwidth,mheight){<br />
if (document.all&&window.print) //if ie5<br />
eval('window.showModelessDialog(url,"","help:0;resizable:1;dialogWidth:'+mwidth+'px;dialogHeight:'+mheight+'px")')<br />
else<br />
eval('window.open(url,"","width='+mwidth+'px,height='+mheight+'px,resizable=1,scrollbars=1, status=no")')<br />
}<br />
</script><br />
<br />
<br />
then call it like this<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"javascript:modelesswin('m_frmst_main.html',655, 575 )">movies</a><!--content-->yeah,<br />
<br />
but we still cant get BOTH working at the same time...<br />
<br />
we can have a 'non hideable' popup, but it HAS to have a title / status bar.... kinda pissing us off now<br />
<br />
what do you think about the site itself?.... do you like the design? do you think the nav is clear?... be interesting to hear everyones comments<br />
<br />
tara<br />
<br />
michael<!--content-->post the site in the review forum and you will get a few good reviews.<br />
<br />
so you want 2 popups to be open at the sametime? that would piss me off as most users don't like popups to begin with.<!--content-->
 
Back
Top