Log in

View Full Version : again - New Window



viktod
03-30-2010, 08:36 PM
I searched through all archive of the forum and did not find an answer.
I was install a script for gallery
http://www.dynamicdrive.com/dynamicindex14/swissarmy/index.htm
at the bottom of my site
http://ww2army.com/images/4000-4999/4987/1.php
and I have two questions.
1. I need to open link on the images in a new window. But all links are open at the same window.
These ways are not working:
a) in a /head: <meta target="_blank">
b) slides[0] = ["http://images.ua-ru.com/forSites/random/4545.jpg", "<a href='http://ww2army.com/german/condor1.php'>caption<\/a>", "http://ww2army.com/german/condor1.php", "_blank"];
c) slides.specs='width=1300, height=700' //global specifications for this show's new window(s) - open a new window, but without scrolling, button back ...

2. Between 3 rows is appeared very strange symbol: 
My code does not have it. FrontPage could not put it itself - I was tryuing to work in other web design programs - the same result. I think it makes a script. If yes, how can I remove it?
I put this script for 4 different sites - the same result.
Thank you for your help.

Nile
03-30-2010, 09:27 PM
It should be:


slides[0] = ["http://images.ua-ru.com/forSites/random/4545.jpg", "http://ww2army.com/german/condor1.php", "_blank"];

Nile
03-30-2010, 09:28 PM
B should be:


slides[0] = ["http://images.ua-ru.com/forSites/random/4545.jpg", "http://ww2army.com/german/condor1.php", "_blank"];

viktod
03-30-2010, 10:02 PM
Sorry, in this case the link is not working at all and open in the same (again) window with wrong link.
Please look at the result
http://ww2army.com/images/4000-4999/4987/_blank

Nile
03-30-2010, 10:17 PM
Sorry - I ended up confused. Try:


slides[0] = ["http://images.ua-ru.com/forSites/random/4545.jpg", "", "http://ww2army.com/german/condor1.php", "_blank"];

viktod
03-30-2010, 10:38 PM
Yes, it is open in a new window, thank you.
Unfortunately it is unusable, because the new window is fixed and does not have any buttons and possibilities like back, refresh, scroll etc.
It is in a Firefox and in an IE.

Nile
03-30-2010, 10:49 PM
Find the following and delete the red:


slides.specs='width=1300, height=700'

viktod
03-30-2010, 11:00 PM
Yes, it is working!
Thank you very much.
How about my second question about the symbol п»ї ?

Nile
03-30-2010, 11:09 PM
Front page must be inserting it - it has nothing to do with the slideshow.

viktod
03-30-2010, 11:21 PM
OK.
Thank you very much for your help.
I will try other web design programs.

Nile
03-30-2010, 11:40 PM
Glad to help you! Your welcome!

It seems your topic is solved... Please set the status to resolved.. To do this:
Go to your first post ->
Edit your first post ->
Click "Go Advanced" ->
Then in the drop down next to the title, select "RESOLVED"

djr33
03-31-2010, 12:34 AM
This is just a guess, but that "symbol" is 3 characters which makes me believe that it might have to do with character encoding.
For example, if あ [Japanese character] is encoded in Unicode, then displayed in another context it will appear as 3 random characters. This is because Unicode, in order to allow more characters, stores each character in 3 bytes-- so what you're getting is the 3 bytes of what the system is guessing you meant, rather than displaying the 'real' character meant by that.
Again, this is just a guess, but try looking at various encodings you can use. For example, the html <meta> tag for character encoding, or perhaps the actual encoding of the text document (.htm) such as saved by frontpage or notepad. I don't know how frontpage works with unusual characters, but with a program like notepad you can choose the format you want to save it in when saving as a .txt (or .htm, etc).