Closed Bug 553965 Opened 14 years ago Closed 13 years ago

External Link from Image to Image fails to open external image in correct page or frame

Categories

(SeaMonkey :: Composer, defect)

SeaMonkey 2.0 Branch
x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 212165

People

(Reporter: l5wood, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDC)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100205 SeaMonkey/2.0.3

See detailed procedure at above URL.
The Target for linking an exteral image from an image is in the wrong location in the html code.  Consequently, the remote image fails to open in the correct location.  

Reproducible: Always

Steps to Reproduce:
1. See URL Detailed Procedure - note the procedure was run on a local computer, so the relative addresses may appear a little different.
2.
3.
Actual Results:  
The remote image, which was supposed to open in an external frame, opened outside the frame in an external page.  Moveing the target code manually in the html source corrected the problem.

Expected Results:  
An image was supposed to pen in an external frame.

The Target should be moved to the location marked in red in the Detailed Procedure at the URL.

Having gone to all this trouble, the user interface for linking to images needs to have a simple option like the Netscape 4.7 Composer.  There are far to many steps required to insert and link an image in the Mozilla composer.
Larry: Would it be ok for you to copy the description on that webpage directly into this bug here? It makes reading the bug easier and maybe bugzilla.mozilla.org is around for a longer time than your webpage (the first bugs on bugzilla.m.o are from 1998).
Version: unspecified → SeaMonkey 2.0 Branch
Steps to Reproduce:

1.  Select Image Icon
2.  Select Image A
3.  Enter Alt Text "ABB", OK
4.  Save
5.  Select Link Icon
6.  Select Link Image B
7.  Save
8.  Right Click on Image
    Choose Image and Link Properties from pull down menu
    Select Advanced Edit
    Enter  target = newWin
    OK
9.  Save
10.  Right Click on Image
      Choose Image and Link Properties from pull down menu
      Select Advanced Edit
      Select JavaScript Events
        Enter Onclick = (paste in the following line)

window.open("","newWin", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=635,height=470")

    OK
11. Save
12. Result of clicking on the image:  Image B does not open in target frame due to target out of place (ref. html code):
 Resulting Code:
<a href="astrology/charts/ABB_shooting.gif"><img
onclick='window.open("","newWin", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=635,height=470")'
target="newWin" alt="ABB"
src="file:///C:/Htmlib/astrology/charts/ABB_shootinga.gif"
style="border: 0px solid ; width: 210px; height: 150px;"></a>


13.  Note target is out of place.  Open Source editor and move target to end of href as follows:
<a href="astrology/charts/ABB_shooting.gif" target="newWin"><img
onclick='window.open("","newWin", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=635,height=470")'
  alt="ABB"
src="file:///C:/Htmlib/astrology/charts/ABB_shootinga.gif"
style="border: 0px solid ; width: 210px; height: 150px;"></a>

14. Save
15.  Result of clicking on image:  Image B opens in frame correctly.
Could you check and see if this is fixed on SM2.3?
No, this is not fixed in SM2.3.3
"target" still appears in same wrong place as before.
This is actually correct behaviour. The "Advanced Edit" in the "Image and Link Properties" dialog is just for the image not the link, hence why "Link Advanced Edit" was introduced in Bug 212165 so that the advanced properties for the link can be changed.
SM2.6 will be the first version that has this button.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.