Not logged in. · Lost password · Register
Forum: General discussion RSS
Post Your Website Running Browseamp Here (Important)
Page:  previous  1  2 
Falk (Guest) #16
No profile available.
Link to this post
I hope it's allowed to put in some screenshots because the server is not running 24h and since that may not be online when you want to visit it.

[Image: http://www.surrounded.de/sonstiges/ba/Clip_2.jpg]

[Image: http://www.surrounded.de/sonstiges/ba/Clip_3.jpg]
Avatar
Azimuth #17
Member since Jan 2003 · 427 posts · Location: Chicago, Illinois - USA
Group memberships: Members
Show profile · Link to this post
Wow! Very nice! B)

Is that all BA?  If so, how did you do the album view (2nd screenshot)?
Falk (Guest) #18
No profile available.
Link to this post
Quote by Azimuth on 2005-01-09, 15:02:
Wow! Very nice! B)

Is that all BA?  If so, how did you do the album view (2nd screenshot)?
Partly. BA runs within an HTA context (the blue border).

I included a small JavaScript in the browser_directories.html template:


<script language="JavaScript" type="text/JavaScript">
if (browserow == 6) {
    document.writeln('</tr><tr valign="middle">');
    browserow = 1;
}

var dirname = '<#browser_directoryname>';
if (dirname != "..") {
    browserow = browserow + 1;
    document.writeln('<td width="190" align="center" valign="middl">');
}
</script> 

<script language="JavaScript" type="text/JavaScript">
var dirname = '<#browser_directoryname>';
if (dirname != "..") {
    var textstr = '<table cellpadding=0 cellspacing=0 border=0 width="120" height="122"><tr><td><a href="?dir=<#browser_enc_directoryname useslashes=true>"><img src="Folder.jpg?src=<#CurrentBrowserDirectory useslashes=true>/<#browser_enc_directoryname useslashes=true>" width=120 border="0"></a></td></tr></table>';
    var ntext = textstr.replace(/\//, "\");
    document.writeln(ntext);
}

</script> 

<script language="JavaScript" type="text/JavaScript">
var dirname = unescape('<#browser_enc_directoryname>');
var dirname = dirname.replace(/\+/g, ' ');
var ndirname = dirname.replace(/\/g, '<br>\n');

if (dirname != "..") {
    document.writeln('<table cellpadding=0 cellspacing=0 border=0 width="100%"><tr><td width=15 align="center"><input name="add" type="checkbox" id="add" value="<#browser_form_directoryname>"></td><td align="center"><a href="?dir=<#browser_enc_directoryname>"><font class="textm">' + ndirname + '</font></a></td><td width=12 align="center"><a href="?add=<#browser_enc_directoryname>" onClick="parent.frames.command.location.href=\'command.htm\'"><img src="http://mediaserver:8080/gfx/plus.gif" border=0 width=9 height=9></a></td></tr></table></td>');
}

</script> 
Avatar
Azimuth #19
Member since Jan 2003 · 427 posts · Location: Chicago, Illinois - USA
Group memberships: Members
Show profile · Link to this post
Great! Thanks for sharing.  ;)
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page:  previous  1  2 
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Page created in 191.9 ms (102.2 ms) · 46 database queries in 91 ms
Current time: 2018-02-24, 12:24:26 (UTC +00:00)