Javascript popup causing Japanese text transformation

I found out that ALL the popup creating javascript
(window.open - triggered from swf or HTML code) causes the double
to single-byte japanese display transformation.
This happens only on PCs, not on Macs.
You can see the real time exemple on
http://celine.aam-com.com/jp/
Go to COLLECTIONS section (it shows the nav bar on the right
with japanese letters). Then click on the HTML link in Japanese
which opens a popup window. This slitely modify the japanese text
(double to single-byte). On non-Japanese OS, this causes the text
turning into little squares.

Create the <A> like this
<A href="javascript:void(0)" onclick="javascript:fnPopup()">link</a>
or
<A href="javascript:fnPopup()">Link</a>
To achieve this I will type the following in URL
javascript:void(0)" onclick="javascript:fnPopup()
Note: there is no double quotes at the beggining and end.

Similar Messages

  • Javascript Popup causing flash problems

    Hi
    I have a popup window that shows up over flash, and when I
    close it the flash objects gets all weird. It stops drawing, and
    does not work properly. If I remove the javascript popup window
    from the DOM entirely everything is fine. Can someone point me to
    what I am doing wrong.
    I'm using the YUI libraries, and specifically the Dialog
    widget.
    Thanks
    A.J.

    i use this to open a new popup window
    on (release) { getURL("javascript:window.open('
    http://www.domain.com','Wname','width=950,height=600,top=20,left=20,toolbar=false,scrollba rs=yes,resizable=false,menubar=false,status=false');
    void(0);");

  • Javascript popups that open in same window causing focus problem

    I have been using javascript popups in actionscript buttons
    for some time with no issues. However, on a specific movie I have 2
    button links, each of which opens a pdf file. I need each pdf to
    open using the same new window to avoid multiple new windows
    opening.
    This works fine on the first link I open - the new window
    appears on top of the main window. The second link, however, opens
    underneath the main window despite the focus() code. This only
    happens in IE - works fine in Firefox.
    Code used:
    link3_btn.onRelease = function() {
    getURL
    ("javascript:NewWindow=window.open('docs/first.pdf','newWin22','width=700,height=500,left =1
    0,top=10,toolbar=No,location=No,scrollbars=Yes,sta
    tus=Yes,resizable=Yes');NewWindow.focus();void(0); ");
    link4_btn.onRelease = function() {
    getURL
    ("javascript:NewWindow=window.open('docs/second.pdf','newWin22','width=700,height=500,lef t=
    10,top=10,toolbar=No,location=No,scrollbars=Yes,st
    atus=Yes,resizable=Yes');NewWindow.focus();void(0) ;");
    Any help would be appreciated. Thanks.

    This is how the code should look:
    link3_btn.onRelease = function() {
    getURL
    ("javascript:NewWindow=window.open('docs/first.pdf','newWin22','width=700,
    height=500,left=10,top=10,toolbar=No,location=No,scrollbars=Yes,status=Yes
    ,resizable=Yes');NewWindow.focus();void(0); ","_self");
    link4_btn.onRelease = function() {
    getURL
    ("javascript:NewWindow=window.open('docs/second.pdf','newWin22','width=700,height=500,lef t=
    10,top=10,toolbar=No,location=No,scrollbars=Yes,st
    atus=Yes,resizable=Yes');NewWindow.focus();void(0) ;","_self");
    }

  • Does InDesign CC support Japanese text?

    I am trialling Creative Cloud on a Mac, and want to find out if InDesign CC will support the formatting of Japanese text with Furigana. I have tried copying and pasting text from a Word document into InDesign, but the furigana disappears from above the kanji, and appears in brackets after each character. I also note that Japanese appears to be missing from the list of languages when I try to assign a language to the text, though Japanese fonts are supported.

    I don't have much experience with furigana/ruby, and they are not a hot topic around here so I hope someone who knows better will answer -- maybe one of the contributors to this Jan. 2012 thread.   Best of all would be confirmation that the Japanese version of InDesign imports MS Word furigana correctly: it ought to, of course, but given the complaints around here about ID's importing of MS Word files I'm not holding my breath.
    Both HTML5 and Epub3 include furigana, which bodes well for the future.  Meanwhile back in the present one must get work out the door.  The first thing to try is to import ("place") the text into ID rather than paste it in from the clipboard.  If importing *.docx fails, the usual advice is to try *.rtf or *.doc (obviously, the older formats might not handle furigana as well).  After that, well, I suppose I'd look into Word conversions to HTML or XML to see about massaging elements in those formats to yield something useful either during import into ID with an XSLT transformation of XML, or afterwards in ID with Javascript.  (Here I have in mind the hoops people jump through getting footnotes into InDesign from Word and XML.)
    Good luck!
    David

  • Popup with the text "Security Breach" in Safari

    My son told me he saw a popup with the text "Security Breach" when visiting a website. He is concerned that his phone may be compromized. He is using Safari, iOS 6.0.1 on a iPhone 4S. The was a n OK button on the popup. He pressed it and the popup disappeared. Is there serious danger here?

    This may be caused by a problem with an add-on. Try the procedure in the [[Troubleshooting extensions and themes]] article.

  • Japanese text display problems in applet using plugin

    Hi,
    We've been beating our heads against the wall on this one for quite some time, so any help would be greatly appreciated.
    Our product uses a third party applet (Kavachart from Visual Engineering) to display graphical statistics from our database. We are currently localizing our product to support english and japanese. With Japanese enabled, all pages use euc-jp encoding. The problem we are running into is in the display of japanese text inside this applet in IE 5 and NS 4.7x when using the java plugin (1.3 or 1.4). If the default jre of the browsers are used, the text in the applet renders fine.
    On a suggestion from the supprot folks at Visual Engineering, I modified our code to set the defaultFont parameter on the applet to "serif, 14, 1". With this set, the text in the applet renders ok in IE, but NS on windows and unix is still broken. Given that we are doing all these tests on machines running a native japanese OS, it's not even clear to me why setting the defaultFont should even be required, but at this point, I'll take anything :-)
    Has anyone else run into this and either solved it or proven that a solution is not feasible? I'm at my wits end here....
    Thanks in advance,
    Mark Evangelisto
    Synchronicity Inc.

    If you are using different java plugin, you need to install the international version of the JRE; otherwise, some characters may not be able to display correctly since some of the properties files are missing.
    As for Visual Engineering's suggestion. I don't know why they tell you to set the default font on the applet because it may cause the browser to use the font specified. Your applet works on IE because it will try to use the best font to match the web page's content. For NS anything less then 6.0 (technology based on Mozilla), they never display web page correctly especially if you did what VE suggest.
    If you are running the applet on the native langauge OS with the international version of the JRE installed, the applet should display correctly without setting the default font. If it is not the native langauge OS, first you need to install the international version of the JRE and have the fonts that are able to display the language the applet use.

  • Japanese text is gibberish in iTunes Music library

    Hello,
    Problem is: Songs w/Japanese text (Kanji, Kana) as artists and/or title names look like gibberish in my iTunes Music library (viewing songs on the hard drive).
    On a new WinXP PC I loaded iPod+iTunes from CD on computer. Songs play fine in iTunes. Japanese text looks fine in Windows\My Music folder. Japanese text looks fine in iPod device. With iPod connected to PC, I can view my iPod songs inside the iTunes window and the Japanese songs text Kanji looks great. (Yet if I look at same songs located on the PC using the iTunes program, they look bad).
    I removed iTunes from PC, then downloaded it from the Japan Apple.com site; no change in problem. Help!
    Window's settings are:
    --WinXP is US English, Control Panel region is US English, Window's Far East language support is enabled. but language for non-Unicode programs is Japanese (other Japanese software looks fine), Japanese IME is enabled
    -- Internet Explorer's Language Preferences is set for Japanese 1st, English 2nd.
    Thanks in advance!
    Erin W

    I tried the "convert ID3 tags >> Reverse Unicode" option on a few songs. It only caused the gibberish song names and titles to change to different gibberish.
    The odd thing is that I have some songs that had english in some ID3 tags (such as "name") and Japanese in other ID3 tags (such as "artist") and for those, the Japanese text looks great. And yet some song text doesn't.
    I tried deleting a few songs from the iTunes Music library, then click-and-drag the songs from Windows' My Music folder into the iTunes program. It adds it back with the Japanese text still unreadable, same as before.
    I don't know what else to do. I've searched the discussions database here and found instances of the same problem but no fixes.
    Thanks for the help though, and I'd be glad to see any other ideas.
    Erin

  • Syntax Error In Javascript Popup Window

    I'm wondering if anybody can help me out here with a curious bit of code. I'm using GoLive 9 to generate Javascript popup windows. They seem to work fine, but when I check the syntax I get these errors:
    Line 22 Unexpected PCDATA
    Line 24 The Corresponding start tag is missing
    Specifically, it references this code:
    </script>
    //-->
    </script>
    But every time I try to delete or modify those lines I lose the link to my css file and can't link it back. Does anybody out there with a whole lot more brains than me have a solution? Remember, I'm stupid, so if you have a fix I'd appreciate it being explained as simply as possible. Thanks. BTW here's the entire code for the Javascript popup page below:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <meta name="generator" content="Adobe GoLive" />
    <title>1408</title>
    <script type="text/javascript"><!--
    <script type="text/javascript">
    //Global var to store a reference to the opened window
    var openedWindow;
    function openWindow()
    openedWindow = window.open('moreinfo.htm');
    function closeOpenedWindow()
    openedWindow.close();
    </script>
    //-->
    </script>
    <link href="../../../BAD/michaelthibault.com/css/agl-styles.css" rel="stylesheet" type="text/css" media="all" />
    <link href="../../../BAD/michaelthibault.com/css/java.css" rel="stylesheet" type="text/css" media="all" />
    <style type="text/css" media="all"><!--
    a:link { color: #838383; }
    a:active { color: #838383; }
    .dsR1 /*agl rulekind: base;*/ { width: 480px; height: 260px; }
    #media { position: absolute; top: 50px; left: 50px; width: 480px; height: 260px; z-index: 1; }
    #pause { position: absolute; top: 320px; left: 50px; width: 180px; height: 15px; z-index: 2; }
    #close_a { position: absolute; z-index: 3; top: 336px; left: 50px; width: 180px; height: 19px; }
    --></style>
    </head>
    <body>
    <div id="media">
    <object class="dsR1" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="204" width="480" align="left">
    <param name="enablejavascript" value="true" />
    <param name="bgcolor" value="#1a1a1a" />
    <param name="src" value="../../media/01_trailers/1408_tlr1r_h.480.mov" />
    <param name="autoplay" value="true" />
    <param name="controller" value="false" />
    <embed align="left" height="204" pluginspage="http://www.apple.com/quicktime/download/" src="../../media/01_trailers/1408_tlr1r_h.480.mov" type="video/quicktime" width="480" controller="false" autoplay="true" bgcolor="#1a1a1a" enablejavascript="true"></embed>
    </object></div>
    <div id="pause">double click in center to pause</div>
    <div id="close_a">
    <a href="javascript:self.close();">close window</a></div>
    <p></p>
    </body>
    </html>

    You have a script tag nested inside another script tag. Try changing this:
    < script type="text/javascript">< !--
    < script type="text/javascript">
    //Global var to store a reference to the opened window
    var openedWindow;
    function openWindow()
    openedWindow = window.open('moreinfo.htm');
    function closeOpenedWindow()
    openedWindow.close();
    < /script>
    //-->
    < /script>
    ...to this...
    < script type="text/javascript">< !--
    //Global var to store a reference to the opened window
    var openedWindow;
    function openWindow()
    openedWindow = window.open('moreinfo.htm');
    function closeOpenedWindow()
    openedWindow.close();
    //-->
    < /script>

  • Offline preview differs from online display of Japanese text

    I can't figure out why my web site in English and Japanese cannot correctly display the Japanese type when uploaded. The offline preview is fine, but the online version turns the Japanese to gibberish. I have set the charset="UTF-8" in metatags and in the javascript code.
    Thinking that I may have missed a supporting file in the upload, as a test, I downloaded the entire directory and opened the file offline, but it again works fine on my desktop. The same browsers (Safari, Chrome and Firefox) used for online and offline viewing.
    Why won't my Japanese text display online when the offline preview is fine ?

    Have you set the correct charset on your webpage?  If not try to put this within the head tags on your page:
    <meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
    Hope this works.

  • JavaScript Popup Window

    Hi, has anyone done an example where you are at a page, say Page1.jsp that has a text box and a button, when you click on the button a javascript popup window must open(Page2.jsp). Page2.jsp has a text box and a button. The user will enter a value in the text box and when they click the button it must close the popup window and populate the text box on Page1.jsp with the value entered on Page2.jsp.
    Is this possible in JSF, I have tried but it doesn't work. On the popup windoow botton I have javascript code that saves the value in the session, submits the parent page and then closes the popup window.
    On the parent page init, I look for the value saved in the session var and set the textbox's text to it. When I read the value of the text box, it is right but on the screen the value does not show up at all,
    Does anyone have any idea, I can't seem to understand at all what could be wrong here.

    Hi,
    You can use this code:
    1. in the parent form you have a button and a text field named "textCallClass".
    2. in the popup window you have listbox and a button.
    When the button on the popup window is clicked, the selected list item is returned.
    In you popup window, button on_click :
                        <script>
                            function handleOK() {
                                var myform      = document.forms[0];
                                var listControl = myform['form1:listboxID'];
                                var openerField = window.opener.document.getElementById("form1:textCallClass");
                                if (listControl.selectedIndex == -1) {
                                    alert ("Please select an item from the list !");
                                    return false;
                                else {
                                    openerField.value = listControl.options[listControl.selectedIndex].value;
                                    window.close();
                        </script>In the parent form, button on_click:
                            function handleCallClassPopup() {
                                window.open("CallClassLookup.jsp", "Lookup", "width=250,height=300");
                            }A better way is to use the SessionBean to store and retrieve the data.
    Catalin Florean.

  • How do I stop OSX from switching to First-Plan when Javascript popup on Minimized Window appear?

    I'm running OSX Mavericks 10.9.5, Firefox 39.7.0.2
    What happens is that i'm using an automated script with Selenium for automatic-forms-filling.
    Everything is working fine, just like it does on LinuxMint, but the problem is that when i bring another window to first plan (of any program at all) the "minimized" window running the automatic forms gets "maximized" i.e. brought to first plan when a javascript popup appears, thus not enabling me to run that window on background.
    Is there a way to run Firefox on OSX in such a way that Windows don't get switched to first plan when PopUps appear? It doesn't seem to have this behavior on LinuxMint.

    Hello!
    Maybe this links can help you:
    https://support.mozilla.org/pt-BR/kb/solucoes-de-problemas-com-plugins-como-flash-java
    https://support.mozilla.org/pt-BR/kb/como-desativar-applets-java
    This link scan your plug-in's and search for updates:
    https://www.mozilla.org/pt-BR/plugincheck/

  • Will not display Japanese text only boxes?

    how can I get it to display any Japanese text from websites with out it only showing boxes
    any input would be appreciated!
    The Japanese text I would love to see is
    Hiragana
    Katakana
    Kanji

    Quite honestly, I think you need to go back to Flash 10.3.183.90, a version that was kept alive specifically for WinXP users. The Flash 11 and later versions have a separate plugin container that isn't available for anything below Win Vista with feature you can't even use. I see no advantage to anything newer and on the down side the newer versions are a lot more likely to crash frequently.
    First, grab the Adobe uninstaller from here:
    http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html
    Then download Flash 10.3.183.90 from here - about halfway down the page:
    http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
    (Released 6/11/2013) Flash Player 10.3.183.90 (61.1 MB)
    IMO, the best version of Flash for WinXP. Adobe kept up with security updates for 10.3 for WinXP users long after Flash 11.0 came out in 2011 for Vista and newer versions of Windows.
    Run the uninstaller, then reboot your operating system.
    Then you can run the Flash installer, with Firefox closed, of course.
    ''Note, if you still use IE, you'll need to reinstall the ActiveX version of Flash for IE. That uninstaller removes all versions of Flash that might be installed,''

  • Entering Vertical Japanese text in Indesign CS5

    Can anyone point me in the direction of a plugin that will allow me to use the Western European version of ID CS5 to set vertical Japanese text? I don't need to do this very often and the texts are always short (a few lines only), so I can't justify investing in the Japanese version of Indesign.
    I'm sure this has been discussed before, but a search of the forum yields nothing.
    Thanks in advance for your help,
    Piers

    Thanks Peter. That was the thread I was remembering. I downloaded the CS2 template referred to in the messages. It converted to CS5 and worked flawlessly. Saved me hours of messing around.
    Piers

  • How can i add text transformation to a module?

    I am currently working in a latest news announcement module but the release date tag is all in small caps. I would like for it to be in initial caps lock transformation.
    Here is the module html
    <div class="announcement-list" style="text-transform: uppercase;">
    <h2 class="post-title"><span id="date{tag_counter}" style="text-transform: uppercase; font-weight: normal; font-size: 14px; font-family: arial; color: #191818;">{tag_releasedate}</span></h2>
    <span style="font-family: arial; font-size: 24px; color: #982728;"><strong> {tag_subject}</strong></span></div>
    <div class="post-body" style="margin-top: 10px;"><span style="font-size: 14px; font-family: arial; color: #252525;"> {tag_body,400}</span><br />
    </div>
    <div style="margin-top: 20px; margin-bottom: 20px;"><hr color="#909090" size="1" />
    </div>
    it does not put the release date in uppercase
    Please help me

    If you add "text-transform: uppercase;" to .announcement-list h2 on line 158 in ModuleStylesheets.css.
    Quick question. Why are you using a h2 tag for the date? Not very SEO friendly.

  • ITunes 8 Japanese Text Bug

    Just downloaded ITunes 8, and I discovered that when I'm modifying the name of my playlists or music the "quick" way (double clicking and then modifying the text), the text that was in Japanese characters suddenly appears as boxes (like if ITunes didn't support Japanese text). When I'm not modifying it anymore it's fine.
    ?.?

    i have this same problem. never happened until i updated to itunes 8. this does not only pertain to japanese language alone, but to all asian fonts (and i'm assuming some other foreign fonts like arabic as well).
    no problem displaying the japanese characters on the song info that's already on the songs in the first place, and no problem modifying japanese text through the "get info" palette. but like you said, when trying to modify song info through double-clicking and then edit, all the japanese characters become squares symbols.
    this also means there's no way to edit playlist titles with japanese font?

Maybe you are looking for

  • How can I convert 30 fps edited footage to 29.97 in prem 6?

    I have 11 minutes of footage that I want to be able to send to my dv camcorder and then burn the dvd but the problem is I edited all of the footage in a 30 fps timebase and when I open the project up in 29.97 premiere tells me that it will add gliche

  • I would like to cancel my order

    I would like to cancel my order please

  • Slow Finder Icon Redraw Fuzzy Finder Icons

    When I open a window in the Finder (Applications for example) all the icons are displayed as generic application/folder icons and will slowly redraw with the correct app icons (Apple apps like iTunes, Safari, etc included). Also, if I click on an app

  • VIP List IOS 6

    I created my VIP list and entered an initial list of people, but now there doesn't seem to be a way to add additional people.  I have gone to my VIP mail box and when I click on it it just takes me to my emails in my VIP box; there is no option to ad

  • Can XML publisher

    Hi, I have a requirement where I have to convert the Word document stored in the BLOB column to be converted to PDF output. Can this conversion be done with BI publisher. can you provide documents for reference. Regards, Jay.