עבור לתוכן

בעיה בפלש, דרימויוור ומסגרות

Featured Replies

פורסם

שלום לכולם מקווה שתוכלו לעזור לי כי יש לי בעיה רצינית-

עשיתי בדרימויוור דף מסגרות בצד שמאל ולמעלה

יצרתי כפתורים בתוכנת פלאש 8 ושמתי אותם במסגרת השמאלית

הגדרתי את הכפתור ככה "on (release) {

getURL("viper.html", "mainFrame");

}

שMAINFRAME זה השם של החלום המרכזי שלי אך ניסיתי באקספלורר ובפיירפוקס ובשניהם האתר עולה לי בעמוד חדש והמסגרות נעלמות הדבר המוזר הוא ש בAVANT BROWSER המסגרות כן עובדות לי

יש למישהו מושג למה ואיך אני יוכל לעשות שהמסגרות יעבדו לי בכל הדפים?

פורסם
  • מחבר

תודה אבל זה בדיוק החיפוש שניסיתי לעשות בגוגל נתקלתי בעוד נשים שיש להם אותה בעיה ולא מצאו פיתרון

פורסם

בדרך כלל שפורומים לא עוזרים, שווה לבדוק את היצרן. (אגב, העמוד הזה יוצא בתוצאות של החיפוש מקודם)

בבקשה:

Using the Get URL Action to target a named anchor fails across framesets

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14339&sliceId=2

This is a browser issue.

The Macromedia Flash Player passes the complete string from the getURL action, including the "#anchor" information. However, the browser's plug-in programming interface is not correctly reading the anchor information.

Solution

Named anchors will work correctly if the SWF is in the same frame as the anchor.

One possible workaround is to call JavaScript functions using the getURL action. The JavaScript function then handles loading the URL to the frame. Instead of an "http://" URL, the prefix "javascript:" would be added to the function name to be called.However, this method is risky because not all browsers support Macromedia Flash Player and JavaScript communication. Specifically, this will not work with Internet Explorer 2.0 and 3.0 for Windows or Internet Explorer 4.5 Macintosh.

A sample getURL action could look like this:

getURL("javascript:window.location.href=\"filename.html#anchorname\"");

(note the escape characters \" in place of the quote characters)

For an example of using this syntax in Macromedia Flash (in this example to create pop-up windows) seeHow to create pop-up browser windows in Flash (TechNote 14192). This will show you the correct syntax inside a Flash movie.

מקווה שזה יעזור.

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים