Revision history for AjaxGallery


Revision [23405]

Last edited on 2016-05-20 07:38:48 by MasinAlDujaili [Replaces old-style internal links with new pipe-split links.]
Additions:
This action is actually only partly based on ajax techniques and is [[YodaHome | my]] first aproach to this kind of enhancements.
Your server needs GD support for PHP installed for the resizement work. Furthermore this extension depends on two ""JavaScript"" libraries: [[http://prototype.conio.net/ | Prototype]] and [[http://script.aculo.us/ | script.aculo.us]]. They need to be placed in a subdirectory "scripts" in the wiki directory. Make sure you copy the .htaccess file from the action directory to this subdirectory!
For your convenience: [[http://yodahome.de/home/scripts.zip | scripts.zip]] (prototype 1.4.0 and script.aculo.us 1.5.3)
[[AjaxIntegration | Discussion on Ajax in Wikka]]
Deletions:
This action is actually only partly based on ajax techniques and is [[YodaHome my]] first aproach to this kind of enhancements.
Your server needs GD support for PHP installed for the resizement work. Furthermore this extension depends on two ""JavaScript"" libraries: [[http://prototype.conio.net/ Prototype]] and [[http://script.aculo.us/ script.aculo.us]]. They need to be placed in a subdirectory "scripts" in the wiki directory. Make sure you copy the .htaccess file from the action directory to this subdirectory!
For your convenience: [[http://yodahome.de/home/scripts.zip scripts.zip]] (prototype 1.4.0 and script.aculo.us 1.5.3)
[[AjaxIntegration Discussion on Ajax in Wikka]]


Revision [20614]

Edited on 2009-05-13 10:14:35 by MasinAlDujaili [answer]
Additions:
~&With IE8 just released, there's no real reason anymore to support IE <7, I think. Sorry, but we're talking about a browser almost a decade old (and being buggy beyond imagination without support of web standards long established) -- there are far better alternatives out there. Of course, I understand that there might be users, who cannot upgrade, e.g. because of company policies. But I think, those users might also be used to the fact, that their browser isn't supported that well. As all those Netscape Navigator 4.7 users cannot expect to have their browser supported anymore. AFAIK IE7+ supports ##position:fixed;##. As for the nomenclature, CSS is not programming but just a simple set of definitions to apply. As is writing HTML no programming but marking up text. ##position:static;## refers to the position in context to the surrounding content being static, while ##position:fixed;## defines the element's position relative to the viewport (i.e. browser window most the time). MasinAlDujaili, 2009-05-13, 17:14 CEST


Revision [20613]

Edited on 2009-05-13 08:27:28 by GrahamKelly [answer]
Additions:
--Isn't the correct term used in Web Programming static instead of fixed, like when you want a background to stay still as you scroll down a page?
--GrahamKelly


Revision [18824]

Edited on 2008-01-28 00:12:52 by YodaHome [Modified links pointing to docs server]

No Differences

Revision [13751]

Edited on 2006-04-06 15:27:57 by YodaHome [Modified links pointing to docs server]
Additions:
Your server needs GD support for PHP installed for the resizement work. Furthermore this extension depends on two ""JavaScript"" libraries: [[http://prototype.conio.net/ Prototype]] and [[http://script.aculo.us/ script.aculo.us]]. They need to be placed in a subdirectory "scripts" in the wiki directory. Make sure you copy the .htaccess file from the action directory to this subdirectory!
Deletions:
Your server needs GD support for PHP installed for the resizement work. Furthermore this extension depends on two ""JavaScript"" libraries: [[http://prototype.conio.net/ Prototype]] and [[http://script.aculo.us/ script.aculo.us]]. They need to be placed in a subdirectory "scripts" in the actions directory. Make sure you copy the .htaccess file from the action directory to this subdirectory!


Revision [13457]

Edited on 2006-03-13 07:52:56 by YodaHome [Modified links pointing to docs server]
Additions:
- it works well on latest Mozilla-based browsers (Firefox, Konqueror though the effects are missing, I assume Safari [testers welcome]) AND (finally) in IE but it doesn't work on any version of Opera and the box is not floating while you scroll on IE
Deletions:
- it works well on latest Mozilla-based browsers (Firefox, Konqueror though the effects are missing, I assume Safari [testers welcome]) but it doesn't work on any version of Opera and the box is not floating while you scroll on IE


Revision [13456]

Edited on 2006-03-13 07:52:25 by YodaHome [Modified links pointing to docs server]
Additions:
This doesn't work that well with IE for several reasons: First IE 5+ doesn't understand the css option position:fixed which is needed to display the viewer correctly. I added a workaround for that but there are probably better ways to deal with it out there. Any help would be apreciated. I have not tested this with the IE 7 Beta, would anybody be so kind?
Deletions:
This doesn't work with IE for several reasons: First IE 5+ doesn't understand the css option position:fixed which is needed to display the viewer correctly. Though there are some workarounds for this I couldn't get it work yet. Any help would be apreciated. Furthermore there might be some other issues I have not looked into presumingly due to to missinterpreted css 2.0. I have not tested this with the IE 7 Beta, would anybody be so kind?


Revision [13455]

Edited on 2006-03-13 07:51:02 by YodaHome [Modified links pointing to docs server]
Additions:
- it works well on latest Mozilla-based browsers (Firefox, Konqueror though the effects are missing, I assume Safari [testers welcome]) but it doesn't work on any version of Opera and the box is not floating while you scroll on IE
You need to add these style definitions to your stylesheet. Of course you can change them to suit you needs (size position etc).
%%(css)
#viewer {
position:absolute;
width:84%;
height:84%;
top:50px;
left:50px;
#viewer[id] {
position:fixed;
top:50px;
left:50px;
bottom:50px;
right:50px;
<div style="display:none" id="viewer" onclick="Effect.toggle(\'viewer\',\'appear\');return false;"></div>';
// If it doesn't, then we gots to create one in a subdir.
<script type="text/javascript" src="./scripts/scriptaculous.js"></script></head><body>';
echo '<div id="loading" style="position:absolute;top:0px;right:50%;background-color:gray;z-index:1;"><b>Loading...</b></div>';
Deletions:
- it works well on latest Mozilla-based browsers (Firefox, Konqueror though the effects are missing, I assume Safari [testers welcome]) but it doesn't work on any version of Opera and Internet Explorer (position:fixed doesn't work and some other problems I couldn't locate)
<div style="display:none" id="viewer" onclick="Effect.toggle(\'viewer\',\'appear\');return false;"></div> // Here you can edit the style definition for the viewer
';
//$dir = $vars['dir']; // First thing to do, I suppose is to retrieve all of the filenames in the directory
// If it doesn't, then we gots to create one!
<script type="text/javascript" src="./scripts/scriptaculous.js"></script></head><body onload="new Effect.Appear(\'loading\');return false;">';
echo '<div id="loading" style="position:absolute;top:0px;right:50%;background-color:lightgray;z-index:1;"><b>Loading...</b></div>';


Revision [13454]

Edited on 2006-03-13 07:45:49 by YodaHome [Modified links pointing to docs server]
Additions:
<div style="display:none" id="viewer" onclick="Effect.toggle(\'viewer\',\'appear\');return false;"></div> // Here you can edit the style definition for the viewer
Deletions:
<div style="position:fixed;top:50px;left:50px;right:50px;bottom:50px;display:none;" id="viewer" onclick="Effect.toggle(\'viewer\',\'appear\');return false;"></div> // Here you can edit the style definition for the viewer


Revision [13453]

Edited on 2006-03-13 06:58:40 by YodaHome [Modified links pointing to docs server]
Additions:
- it works well on latest Mozilla-based browsers (Firefox, Konqueror though the effects are missing, I assume Safari [testers welcome]) but it doesn't work on any version of Opera and Internet Explorer (position:fixed doesn't work and some other problems I couldn't locate)
Deletions:
- it works well on latest Mozilla-based browsers (Firefox, Konqueror, I assume Safari [testers welcome]) but it doesn't work on any version of Opera and Internet Explorer (position:fixed doesn't work and some other problems I couldn't locate)


Revision [13452]

Edited on 2006-03-13 06:40:01 by YodaHome [Modified links pointing to docs server]
Additions:
- there is no fallback for non-ajax browser but it makes sense to add this


Revision [13357]

Edited on 2006-02-28 17:27:07 by YodaHome [Modified links pointing to docs server]
Additions:
[[AjaxIntegration Discussion on Ajax in Wikka]]


Revision [13356]

Edited on 2006-02-28 17:25:27 by YodaHome [Modified links pointing to docs server]
Additions:
This action is actually only partly based on ajax techniques and is [[YodaHome my]] first aproach to this kind of enhancements.
Deletions:
This action is actually only partly based on ajax techniques and is my first aproach to this kind of enhancements.


Revision [13355]

Edited on 2006-02-28 17:24:46 by YodaHome [Modified links pointing to docs server]
Additions:
=== Demo ===
See it work on http://yodahome.de/wiki/SandBox


Revision [13352]

Edited on 2006-02-28 17:00:28 by YodaHome [Modified links pointing to docs server]
Additions:
- consider this an alpha version (though the ""JavaScript"" libraries used are considered very stable)
Deletions:
- consider this an alpha version (though the JavaScript libraries used are considered very stable)


Revision [13351]

Edited on 2006-02-28 16:58:39 by YodaHome [Modified links pointing to docs server]
Additions:
This action is actually only partly based on ajax techniques and is my first aproach to this kind of enhancements.
Deletions:
This action is actually only partly based on ajax technique and is my first aproach to this kind of enhancements.


Revision [13350]

Edited on 2006-02-28 16:58:25 by YodaHome [Modified links pointing to docs server]
Additions:
===== AjaxGallery =====
Deletions:
==== AjaxGallery ====


Revision [13349]

Edited on 2006-02-28 16:57:25 by YodaHome [Modified links pointing to docs server]
Additions:
- the code is ugly
For your convenience: [[http://yodahome.de/home/scripts.zip scripts.zip]] (prototype 1.4.0 and script.aculo.us 1.5.3)
=== Problems ===
This doesn't work with IE for several reasons: First IE 5+ doesn't understand the css option position:fixed which is needed to display the viewer correctly. Though there are some workarounds for this I couldn't get it work yet. Any help would be apreciated. Furthermore there might be some other issues I have not looked into presumingly due to to missinterpreted css 2.0. I have not tested this with the IE 7 Beta, would anybody be so kind?


Revision [13348]

Edited on 2006-02-28 16:34:27 by YodaHome [Modified links pointing to docs server]
Additions:
Those two files need to be placed in the actions directory:
actions/ajaxgallery.php
</script>
<div style="position:fixed;top:50px;left:50px;right:50px;bottom:50px;display:none;" id="viewer" onclick="Effect.toggle(\'viewer\',\'appear\');return false;"></div> // Here you can edit the style definition for the viewer
actions/show.php
Deletions:
The two files need to be placed in the actions directory:
ajaxgallery.php
</script><div style="position:fixed;top:50px;left:50px;right:50px;bottom:50px;display:none;" id="viewer" onclick="Effect.toggle(\'viewer\',\'appear\');return false;"></div>
show.php


Revision [13347]

Edited on 2006-02-28 16:30:32 by YodaHome [Modified links pointing to docs server]
Additions:
if (isset($_GET['createpic'])) generate($_GET['picture'], $_GET['width'], $_GET['height']); else {


Revision [13346]

Edited on 2006-02-28 16:29:43 by YodaHome [Modified links pointing to docs server]
Additions:
=== Prerequisites / Installation ===
Deletions:
=== Prerequisites/Installation ===


Revision [13345]

Edited on 2006-02-28 16:28:05 by YodaHome [Modified links pointing to docs server]
Additions:
function generate($source, $w, $h, $quality = 85)


Revision [13344]

The oldest known version of this page was created on 2006-02-28 16:27:27 by YodaHome [Modified links pointing to docs server]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki