Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

direct access to libery
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=130
Page 1 of 1

Author:  chimera [ 2. Jan 2006, 11:04 ]
Post subject:  direct access to libery

hay

i wont to have a direct access
for example if i have a 60 galley, i have to search for my gallery

i wont to do somthing with txt box thet will go directly to the gallery

like

http://tinywebgallery.ti.funpic.de/demo ... twg_album="(value from text box)"

i have a code thet can help

Code:
<script language="JavaScript"><!--
function functionName() {
    location.href =
        formName.textName.value;
    return false;
}
//--></script>

<form name="formName" onSubmit="return functionName()">
URL: <input type="text" name="textName" value="הכנס שם">
<input type="submit" value="Go" onClick="return functionName()">
</form>
</html>


10x for all
kobi

Author:  TinyWebGallery [ 2. Jan 2006, 12:46 ]
Post subject: 

Hi,

I don't understand what you need ;).
Where should this input field box be placed ?

/Michael

Author:  chimera [ 4. Jan 2006, 23:59 ]
Post subject:  OK

i wont to let the user direct access to specific galley, but for this i found a good solution
Code:
<script language="JavaScript">
<!--
var vMAIN_URL='#removed_broken_link';
//.+.+.+.+.+.+.+.+.+.+.+.+.+
function go2gallery() {
    location.href=vMAIN_URL+document.g2g.galleryName.value;
    return false;
}
//-->
</script>
<form name="g2g" onSubmit="return go2gallery()">
gallery name: <input type="text" name="galleryName" value="input name" />
<input type="submit" value="go" onClick="return go2gallery()" />
</form>

bat now i have another problem, i wont to protect the gallery with password and when the password windows is in full screen is not work good !!!
help please
10x
kobi

Author:  TinyWebGallery [ 5. Jan 2006, 10:27 ]
Post subject: 

Hi,

what do you expect?
You wan to jump to a protected gallery and the gallery says that you are not allowed to do this. You have to got to the main screen and do the logon.

But good your tried - there ist still some debug code if you type it wrong :)

I don't understand the last sentence you wrote.
I think what can be more user friendly is that it asks for the password at this point ... ??

/Michael

Author:  chimera [ 5. Jan 2006, 12:45 ]
Post subject:  OK

try this link
http://tinywebgallery.ti.funpic.de/demo ... m=Palenque

why when i insert the password "test" is not work??

thank for all
kobi

Author:  TinyWebGallery [ 5. Jan 2006, 19:25 ]
Post subject: 

true -

you link direcly into an iframe - this frame comunicates with the main frame but this does not exist and therefore it fails.

In 1.4 I will include a feature that if you want to do a direct login you are asked for the password like on the main page.

/Michael

Author:  TinyWebGallery [ 5. Jan 2006, 20:55 ]
Post subject: 

Hi,

Please to your check against the beta of 1.4:

http://tinywebgallery.ti.funpic.de/test ... %282004%29

It should now be possilbe to log in if you try to open a logged gallery !
Only the text is not modified yet ;).

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/