Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default iframes

    Hi,

    when I make a page in photoshop, do my rollovers in imageready , bring it to dreamweaver, make an iframe from a slice made in ps or ir, the layout remains good in dreamweaver.

    When I do the same thing in fireworks , my layout VIEW looks all messed up...

    Strange....



    skin webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. iFrames for CS3
      Does anyone know before I buy it, if the iFrames Suite extensions work with Dreamweaver CS3? I'd like to put a frame of text (requiring a...
    2. Iframes in Dreamweaver
      I am using the following script, frame4 opens under my menu, frame3,, not next to it. can anyone tell me why. <body> <br /> <iframe...
    3. Frames and IFrames+SWF
      Hi,This is the 3rd time I am trying to find a solution but it seems like no one is answering me. :-(.So to explain shortly. I want to make a page...
    4. iframes???
      What are some of the drawbacks to iframes. When are they good and why should you use them. Thank you. B
    5. Help with IFrames
      Hello I have a main pgae and I load an Iframe based on when the user clicks the tree nodes ,but when I save some records on the Iframe they should...
  3. #2

    Default Re: iframes

    "skin" [email]webforumsuser@macromedia.com[/email] wrote:
    > Hi,
    >
    > when I make a page in photoshop, do my rollovers in imageready , bring it to dreamweaver, make an iframe from a slice made in ps or ir, the layout remains good in dreamweaver.
    >
    > When I do the same thing in fireworks , my layout VIEW looks all messed up...
    >
    > Strange....
    >
    >
    1) It's in the code. Show it, both the one from PS and the one from FW,
    and you'll get answers.
    2) Don't use DW's Layout mode. Never, ever.


    --
    Dan Vendel - *GOF*
    [url]http://www.vendel.info[/url]
    Contact me directly by clicking here:
    [url]http://contact.vendel.info[/url]
    Formmail tutorial:
    [url]http://www.vendel.info/tut/formmail.html[/url]
    Nested table demonstration:
    [url]http://www.vendel.info/tabletut/[/url]

    Dan Vendel *GOF* Guest

  4. #3

    Default Re: iframes

    Hi,
    sorry for the late respons..

    I don't use photoshop to export html. I open the psd file in fireworks and export there to html (dreamweaver). Here is the code from the page I'm talking about.

    <html>
    <head>
    <title>Protexi</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <!-- Fireworks MX Dreamweaver MX target. Created Wed Oct 01 21:48:22 GMT+0200 (Romance Daylight Time) 2003-->
    <script language="JavaScript">
    <!--
    function mmLoadMenus() {
    if (window.mm_menu_0925010804_0) return;
    window.mm_menu_0925010804_0_1_1 = new Menu("Inbraak&nbsp;beveiliging",153,18,"Verdana, Arial, Helvetica, sans-serif",10,"#e0dfe3","#ffffff","#666666","#bb0000", "left","middle",4,2,500,0,0,true,false,true,0,true ,true);
    mm_menu_0925010804_0_1_1.addMenuItem("Particulier" ,"window.open('http://www.protexi.be/inbraakpart.html', '_self');");
    mm_menu_0925010804_0_1_1.addMenuItem("Professionee l","window.open('http://www.protexi.be/inbraakprof.html', '_self');");
    mm_menu_0925010804_0_1_1.bgImageUp="images/mmmenu1_153x18_up.gif";
    mm_menu_0925010804_0_1_1.bgImageOver="images/mmmenu1_153x18_over.gif";
    mm_menu_0925010804_0_1_1.hideOnMouseOut=true;
    mm_menu_0925010804_0_1_1.bgColor='#555555';
    window.mm_menu_0925010804_0_1 = new Menu("Beveiliging",153,18,"Verdana, Arial, Helvetica, sans-serif",10,"#e0dfe3","#ffffff","#666666","#bb0000", "left","middle",4,2,500,0,0,true,false,true,0,true ,true);
    mm_menu_0925010804_0_1.addMenuItem(mm_menu_0925010 804_0_1_1);
    mm_menu_0925010804_0_1.addMenuItem("Brand&nbsp;bev eiliging","window.open('http://www.protexi.be/brand.html', '_self');");
    mm_menu_0925010804_0_1.addMenuItem("Toegangscontro le","window.open('http://www.protexi.be/toegang.html', '_self');");
    mm_menu_0925010804_0_1.addMenuItem("Camerabewaking ","window.open('http://www.protexi.be/camera.html', '_self');");
    mm_menu_0925010804_0_1.addMenuItem("Productbeveili ging","window.open('http://www.protexi.be/product.html', '_self');");
    mm_menu_0925010804_0_1.bgImageUp="images/mmmenu1_153x18_up.gif";
    mm_menu_0925010804_0_1.bgImageOver="images/mmmenu1_153x18_over.gif";
    mm_menu_0925010804_0_1.hideOnMouseOut=true;
    mm_menu_0925010804_0_1.childMenuIcon="images/arrows.gif";
    mm_menu_0925010804_0_1.bgColor='#555555';
    window.mm_menu_0925010804_0 = new Menu("root",153,18,"Verdana, Arial, Helvetica, sans-serif",10,"#e0dfe3","#ffffff","#666666","#bb0000", "left","middle",4,2,500,0,0,true,false,true,0,true ,true);
    mm_menu_0925010804_0.addMenuItem(mm_menu_092501080 4_0_1);
    mm_menu_0925010804_0.addMenuItem("Communicatie&nbs p;netwerken","window.open('http://www.dago.be', '_blank');");
    mm_menu_0925010804_0.bgImageUp="images/mmmenu1_153x18_up.gif";
    mm_menu_0925010804_0.bgImageOver="images/mmmenu1_153x18_over.gif";
    mm_menu_0925010804_0.hideOnMouseOut=true;
    mm_menu_0925010804_0.childMenuIcon="images/arrows.gif";
    mm_menu_0925010804_0.bgColor='#555555';

    mm_menu_0925010804_0.writeMenus();
    } // mmLoadMenus()

    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
    }

    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
    }

    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    <script language="JavaScript1.2" src="mm_menu.js"></script>
    </head>
    <body bgcolor="#333333" background="images/background2.jpg" onLoad="MM_preloadImages('images/buttons_r2_c2_f2.jpg','images/buttons_r2_c4_f2.jpg','images/buttons_r2_c6_f2.jpg','images/buttons_r2_c8_f2.jpg','images/buttons_r2_c10_f2.jpg','images/buttons_r2_c12_f2.jpg')">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
    <!-- fwtable fwsrc="jobsreal.png" fwbase="jobs.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="1" -->
    <tr>
    <td><img name="jobs_r1_c1" src="images/jobs_r1_c1.jpg" width="640" height="93" border="0" alt=""></td>
    </tr>
    <tr>
    <td> <script language="JavaScript1.2">mmLoadMenus();</script> <table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
    <!-- fwtable fwsrc="buttons.png" fwbase="buttons.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="1" -->
    <tr>
    <td colspan="13"><img name="buttons_r1_c1" src="images/buttons_r1_c1.jpg" width="640" height="6" border="0" alt=""></td>
    </tr>
    <tr>
    <td rowspan="2"><img name="buttons_r2_c1" src="images/buttons_r2_c1.jpg" width="9" height="26" border="0" alt=""></td>
    <td><a href="home.html" target="_self" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('buttons_r2_c2','','imag es/buttons_r2_c2_f2.jpg',1);"><img name="buttons_r2_c2" src="images/buttons_r2_c2.jpg" width="83" height="20" border="0" alt=""></a></td>
    <td rowspan="2"><img name="buttons_r2_c3" src="images/buttons_r2_c3.jpg" width="23" height="26" border="0" alt=""></td>
    <td><a href="news.html" target="_self" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('buttons_r2_c4','','imag es/buttons_r2_c4_f2.jpg',1);"><img name="buttons_r2_c4" src="images/buttons_r2_c4.jpg" width="83" height="20" border="0" alt=""></a></td>
    <td rowspan="2"><img name="buttons_r2_c5" src="images/buttons_r2_c5.jpg" width="24" height="26" border="0" alt=""></td>
    <td><a href="#" target="_self" onMouseOut="MM_swapImgRestore();MM_startTimeout()" onMouseOver="MM_showMenu(window.mm_menu_0925010804 _0,-42,27,null,'buttons_r2_c6');MM_swapImage('buttons_ r2_c6','','images/buttons_r2_c6_f2.jpg',1);"><img name="buttons_r2_c6" src="images/buttons_r2_c6.jpg" width="83" height="20" border="0" alt=""></a></td>
    <td rowspan="2"><img name="buttons_r2_c7" src="images/buttons_r2_c7.jpg" width="23" height="26" border="0" alt=""></td>
    <td><a href="partners.html" target="_self" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('buttons_r2_c8','','imag es/buttons_r2_c8_f2.jpg',1);"><img name="buttons_r2_c8" src="images/buttons_r2_c8.jpg" width="83" height="20" border="0" alt=""></a></td>
    <td rowspan="2"><img name="buttons_r2_c9" src="images/buttons_r2_c9.jpg" width="24" height="26" border="0" alt=""></td>
    <td><a href="jobs.html" target="_self" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('buttons_r2_c10','','ima ges/buttons_r2_c10_f2.jpg',1);"><img name="buttons_r2_c10" src="images/buttons_r2_c10.jpg" width="83" height="20" border="0" alt=""></a></td>
    <td rowspan="2"><img name="buttons_r2_c11" src="images/buttons_r2_c11.jpg" width="23" height="26" border="0" alt=""></td>
    <td><a href="contact.html" target="_self" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('buttons_r2_c12','','ima ges/buttons_r2_c12_f2.jpg',1);"><img name="buttons_r2_c12" src="images/buttons_r2_c12.jpg" width="83" height="20" border="0" alt=""></a></td>
    <td rowspan="2"><img name="buttons_r2_c13" src="images/buttons_r2_c13.jpg" width="16" height="26" border="0" alt=""></td>
    </tr>
    <tr>
    <td><img name="buttons_r3_c2" src="images/buttons_r3_c2.jpg" width="83" height="6" border="0" alt=""></td>
    <td><img name="buttons_r3_c4" src="images/buttons_r3_c4.jpg" width="83" height="6" border="0" alt=""></td>
    <td><img name="buttons_r3_c6" src="images/buttons_r3_c6.jpg" width="83" height="6" border="0" alt=""></td>
    <td><img name="buttons_r3_c8" src="images/buttons_r3_c8.jpg" width="83" height="6" border="0" alt=""></td>
    <td><img name="buttons_r3_c10" src="images/buttons_r3_c10.jpg" width="83" height="6" border="0" alt=""></td>
    <td><img name="buttons_r3_c12" src="images/buttons_r3_c12.jpg" width="83" height="6" border="0" alt=""></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td><img name="jobs_r3_c1" src="images/jobs_r3_c1.jpg" width="640" height="90" border="0" alt=""></td>
    </tr>
    <tr>
    <td><table align="center" border="0" cellpadding="0" cellspacing="0" width="640">
    <tr>
    <td><img name="jobs_r4_c1" src="images/jobs_r4_c1.jpg" width="44" height="491" border="0" alt=""></td>
    <td><iframe src="vacaturephp.htm" width="491" height="491" scrolling="auto"></iframe></td>
    <td><img name="jobs_r4_c3" src="images/jobs_r4_c3.jpg" width="103" height="491" border="0" alt=""></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td><img name="jobs_r5_c1" src="images/jobs_r5_c1.jpg" width="640" height="89" border="0" alt=""></td>
    </tr>
    </table>
    <style>
    BODY {SCROLLBAR-FACE-COLOR: #333333; SCROLLBAR-HIGHLIGHT-COLOR: #333333; SCROLLBAR-SHADOW-COLOR: #333333; SCROLLBAR-3DLIGHT-COLOR: #999999; SCROLLBAR-ARROW-COLOR: #CC0000; SCROLLBAR-TRACK-COLOR: #487373; SCROLLBAR-DARKSHADOW-COLOR: #666666; }
    </style>
    </body>
    </html>


    You can view the page [url]http://www.protexi.be/jobs.html[/url]
    This page also shifts one pixel to the right, and in the export options I use no spacer image (nested tables).

    Please somebody


    skin webforumsuser@macromedia.com Guest

  5. #4

    Default Re: iframes

    I think the borders of the iframe are causing the shift.

    You really should think of redesigning those pages so they are not all
    images. People who surf with images turned off are going to see a lot of
    blank space. People using screen readers might not be able to make sense
    of them either.


    Best regards,
    Linda Rathgeber
    ----------------
    Victoriana | [url]http://www.projectseven.com/dpacks/vic/index.htm[/url]
    Theme Pack 03 - Club | [url]www.projectseven.com[/url] |mm2| themes
    Contributor *PVII Foundations* [url]www.projectseven.com[/url]
    Co-author *Playing with Fire* [url]www.playingwithfire.com[/url]
    Team MM Fireworks Volunteer | [url]www.macromedia.com/go/team[/url]
    -----------------

    Linda Rathgeber Guest

  6. #5

    Default Re: iframes

    Thx for the reply,

    I added : frameborder="0", but it gives me the same result!


    You really should think of redesigning those pages so they are not all images. People who surf with images turned off are going to see a lot of
    blank space.

    I know, but it's up to the client! People ask for a website, you ask for text, and it goes like :euuhhh....
    So when text isn't the important part , I'll go for the design...



    skin webforumsuser@macromedia.com Guest

  7. #6

    Default Re: iframes


    "skin" <webforumsuser@macromedia.com> wrote in message
    news:blu0c6$h3g$1@forums.macromedia.com...
    > Thx for the reply,
    >
    > I added : frameborder="0", but it gives me the same result!
    >
    >
    > You really should think of redesigning those pages so they are not all
    images. People who surf with images turned off are going to see a lot of
    > blank space.
    >
    > I know, but it's up to the client! People ask for a website, you ask for
    text, and it goes like :euuhhh....
    > So when text isn't the important part , I'll go for the design...
    You've trimmed the initial post(s) so I can only guess at a response.....
    Try adding border="no"


    Jay Guest

  8. #7

    Default Re: iframes

    skin:

    Nonsense. You are the webmaster. It's your responsibility to educate the
    client. They do not have the information or understanding to make such a
    critical or technical decision. You build the site - they supply the
    content. They don't tell the architect how to design the foundation of the
    house, do they?

    Frames is a bad design decision for this and most sites.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "skin" <webforumsuser@macromedia.com> wrote in message
    news:blu0c6$h3g$1@forums.macromedia.com...
    > Thx for the reply,
    >
    > I added : frameborder="0", but it gives me the same result!
    >
    >
    > You really should think of redesigning those pages so they are not all
    images. People who surf with images turned off are going to see a lot of
    > blank space.
    >
    > I know, but it's up to the client! People ask for a website, you ask for
    text, and it goes like :euuhhh....
    > So when text isn't the important part , I'll go for the design...
    >
    >

    Murray *TMM* Guest

  9. #8

    Default Re: iframes

    I agree,....

    It seems to be hard for some managers to come up WITH the 'wright' content. Meanwhile they put you on a deadline because
    they bought an advert in an important magazine!
    That's just an example of how it works now and then. Maybe it's just with me,.... If somebody asks me to make a page with a lot of content, I'll do something else, but I'll allways give a personal touch. Ok maybee I don't take to much care off crossbrowser functionality and access comptability! I hope one day there will be a comptatible browser for all platforms and everyone will be using broadband! Isn't it the way it is going? ..

    Anyway I do like iframes, supported by most browsers and cool to design with! I like to design my sites the way I want them . There is allways a logical explanation why something is not working out , and I wish to ask it over here ?



    skin webforumsuser@macromedia.com Guest

  10. #9

    Default Re: iframes



    "skin" [email]webforumsuser@macromedia.com[/email] wrote:
    > Thx for the reply,
    >
    > I added : frameborder="0", but it gives me the same result!
    I think that's because the border is still there, but it's invisible.


    Best regards,
    Linda Rathgeber
    ----------------
    Victoriana | [url]http://www.projectseven.com/dpacks/vic/index.htm[/url]
    Theme Pack 03 - Club | [url]www.projectseven.com[/url] |mm2| themes
    Contributor *PVII Foundations* [url]www.projectseven.com[/url]
    Co-author *Playing with Fire* [url]www.playingwithfire.com[/url]
    Team MM Fireworks Volunteer | [url]www.macromedia.com/go/team[/url]
    -----------------

    Linda Rathgeber Guest

  11. #10

    Default iFrames

    What are some of the drawbacks to iframes. When are they good and why
    should you use them.

    Thank you.
    B
    Brian Guest

  12. #11

    Default Re: iFrames

    Brian wrote:
    > What are some of the drawbacks to iframes. When are they good and why
    > should you use them.
    Please ask this question in the DW Gereral Discussion as there is more
    traffic and it is focused on Dreamweaver and has lots of such general
    web questions:
    [url]http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?catid=189[/url]

    This forum is focused on using (and building) Dreamwevaer extensions,
    and as such isn't likely to draw the attention you're looking for.

    --
    Danilo Celic
    | Extending Knowledge, Daily [url]http://CommunityMX.com/[/url]
    danilocelic *TMM* Guest

  13. #12

    Default Iframes

    ok, here is my problem. I am creating a website that I will be using 4
    different IFrames in. 2 of the IFrames will always remain the same. The other 2
    however will be used more ofton. What I am looking to do is work it so that
    when a link is clicked on the main page, it opens a new page in each of the 2
    Iframes. So basicly 1 link opens up a page in 1 Iframe and then another page in
    the other Iframe.

    Now I looked into doing this a few months ago, but came up with no results, so
    I figured I would try again. Last time I looked into this I believe I seen it
    could be done, but it had something to do with a java script. I am hoping that
    it can be done with normal HTML, but any solution will do.

    Thanx

    AOD1174 Guest

  14. #13

    Default Re: Iframes

    It has to be done with javascript, the attached code will do this

    <script language="JavaScript">
    <!--
    function loadFrames(pageName1, pageName2){
    parent.frameName1.location.href = pageName1;
    parent.frameName2.location.href = pageName2;
    }
    //-->
    </script>

    <a href="javascript:loadFrames('page1.htm','page2.htm ')">Load Frames</a>

    The ScareCrow Guest

  15. #14

    Default Re: Iframes

    hi ScareCrow.
    I`m sorry but, having the same problem as AOD1174, I can`t really make your code working.
    Should I write something instead of parent, location, href??
    Thanks

    ndelfix Guest

  16. #15

    Default Re: Iframes

    ndelfix,

    You will need to be more specific. What are your trying to do ? What problems are you having with the code I posted ?

    Ken
    The ScareCrow Guest

  17. #16

    Default Re: Iframes

    oh no I solved it scarecrow thanks! your code now works perfectly! Thanks
    ndelfix Guest

  18. #17

    Default Iframes

    Hi all,

    I am creating a site with the use of iframes, whilst the vertical scrollbar is
    essential the horizontal one is useless and i would like to get rid of it, does
    anyone know how to get rid of this?
    Any help would be grateful

    shram 101 Guest

  19. #18

    Default Iframes

    I would like to revise an website photo gallery that I created using Photoshop
    CS web gallery feature.
    But when I try to open it in Dreamweaver, I get a message that says "Browser
    does not support iframes".
    I'm using the latest versions of both Explorer and Netscape and the webgallery
    opens just fine in both.
    What can I do to open a Photoshop web gallery in my Dreamweaver 2004MX?

    thanks



    WBob Guest

  20. #19

    Default Re: Iframes

    Hey Scarecrow,

    I'm sorry to bother you with the same question that has been asked by those
    other guys. I'm having the same problem, now i'm trying to use your code but I
    dont know where to put it exactly. In my main page I created a few hotspots,
    each of these hotspots link to different pages. Now i'm wondering where i have
    to put your javascript, to keep it linked with these hotspots.
    (This is the first time i'm designing a website, so don't mind my ignorance).

    Here is a link to my website: [url]www.channelzerofilms.com/welcomepage.htm[/url]

    Driesz Guest

  21. #20

    Default Re: Iframes

    Sorry, been on holidays

    The code goes inbetween the <head> tag

    Ken
    The ScareCrow Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139