Saturday, March 27, 2010

Problem with Marquee in Design view

I have a vertical scrolling marquee with 100 square inch
graphics in it.

It works from the server in both FF and IE.

The problem is the DM design screen shows all 100 down the
screen making it a pain to work with the screen.

In Frontpage, the marquee is reduced to one small box the
size of one graphic for all 100.

I do know about marquee being FP propritory, but it works!

I suppose I have two questions.

First does it have something to do with putting them in
cells, tables or divs?

I have tried all there but no success.

And second is there a way to HIDE a table in design?

Here is the basic code but it goes 100 down rather than three
down.



%26lt;tr%26gt;

%26lt;th width=''125'' align=''center'' valign=''top''%26gt;

%26lt;p%26gt;%26lt;span
class=''teal_text''%26gt;100x%26lt;/span%26gt;%26lt;/font%26gt;%26lt;/p%26gt;

%26lt;marquee scrollamount=''2'' direction=''up'' loop=''true''
width=''125''%26gt;

%26lt;img src=''x.jpg'' alt=''x'' align=''center'' width=''125''
/%26gt;%26lt;p%26gt;x%26lt;br /%26gt;

%26lt;img src=''x.jpg'' alt=''x'' align=''center'' width=''125''
/%26gt;%26lt;p%26gt;x%26lt;br /%26gt;

%26lt;img src=''x.jpg'' alt=''x'' align=''center'' width=''125''
/%26gt;%26lt;p%26gt;x%26lt;br /%26gt;

%26lt;/marquee%26gt;

%26lt;/th%26gt;

%26lt;/tr%26gt;

Problem with Marquee in Design view
You could approximate that effect in DW8 by creating a .css
file with

(something like) this markup:



marque {

overflow: hidden !important;

height: 125px !important; /* adjust this value */

}



Then apply it as a Design-time Style Sheet (hint: right-click
in CSS Panel).



Once you have this setup, you can expand overflow elements
for editing

by double-clicking, and then F5 to shrink them back down.



Hope this helps,

Randy





rack22 wrote:

%26gt; I have a vertical scrolling marquee with 100 square inch
graphics in it.

%26gt; It works from the server in both FF and IE.

%26gt; The problem is the DM design screen shows all 100 down
the screen making it a

%26gt; pain to work with the screen.

%26gt; In Frontpage, the marquee is reduced to one small box
the size of one graphic

%26gt; for all 100.

%26gt; I do know about marquee being FP propritory, but it
works!

%26gt; I suppose I have two questions.

%26gt; First does it have something to do with putting them in
cells, tables or divs?

%26gt; I have tried all there but no success.

%26gt; And second is there a way to HIDE a table in design?

%26gt; Here is the basic code but it goes 100 down rather than
three down.

%26gt;

%26gt; %26lt;tr%26gt;

%26gt; %26lt;th width=''125'' align=''center'' valign=''top''%26gt;

%26gt; %26lt;p%26gt;%26lt;span
class=''teal_text''%26gt;100x%26lt;/span%26gt;%26lt;/font%26gt;%26lt;/p%26gt;

%26gt; %26lt;marquee scrollamount=''2'' direction=''up'' loop=''true''
width=''125''%26gt;

%26gt; %26lt;img src=''x.jpg'' alt=''x'' align=''center'' width=''125''
/%26gt;%26lt;p%26gt;x%26lt;br /%26gt;

%26gt; %26lt;img src=''x.jpg'' alt=''x'' align=''center'' width=''125''
/%26gt;%26lt;p%26gt;x%26lt;br /%26gt;

%26gt; %26lt;img src=''x.jpg'' alt=''x'' align=''center'' width=''125''
/%26gt;%26lt;p%26gt;x%26lt;br /%26gt;

%26gt; %26lt;/marquee%26gt;

%26gt; %26lt;/th%26gt;

%26gt; %26lt;/tr%26gt;

%26gt;

%26gt;

Problem with Marquee in Design view
I spent a couple hours at it with no success!

Though I am progressing I still need my hand held for some
things. :)

I understand the design time thing, put the code in and saved
it, but now I have two external CSS files for the same page.

That doesnt seem right... do I put two pointers in the head?

Is there something I can put in the main .css file?

Can I hide the table the marquee is in?

I was also wrong about FP, it also shows it all the way down
there too.



This idea has worked and gained me some kadoos. Works better
in IE than FF. In FF the page load also shows the table going down
forever, but only for a few seconds. (I can live with that, some
have said its more interesting than IE, gives them an idea of whats
coming up). IE works just fine.

But boy, is it ever a pain in the butt to work in design mode
having to scroll so far so often. :)

I have to resolve this.

I suppose I could find some JS to do it if all else fails :(








On Sun, 25 Mar 2007 02:48:20 +0000 (UTC), ''rack22''

%26lt;webforumsuser@macromedia.com%26gt; wrote:



%26gt;I spent a couple hours at it with no success!

%26gt; Though I am progressing I still need my hand held for
some things. :)

%26gt; I understand the design time thing, put the code in and
saved it, but now I

%26gt;have two external CSS files for the same page.

%26gt; That doesnt seem right... do I put two pointers in the
head?



No problem - just do two links



%26lt;link href=''/css/main.css'' rel=''stylesheet''
type=''text/css'' /%26gt;

%26lt;link href=''/css/second.css'' rel=''stylesheet''
type=''text/css'' /%26gt;





%26gt; Is there something I can put in the main .css file?

Yes



in the main.css file put:

@import url(''second.css'');



or a tip I got over on the css forum from one of the ''gods''
of CSS -

it might even have been Eric Meyer !!



have a main.css file with only imports from a number of other
css

files - there by keeping css files to a manageable state and
size.



and import them by putting this into main.css :



/* typography styles */

@import url(''fonts.css'');



/* main layout */

@import url(''general.css'');



/* tables */

@import url(''tables.css'');



/* navigation */

@import url(''nav_horiz.css'');



/* lists */

@import url(''lists.css'');



/* images */

@import url(''images.css'');

















%26gt; Can I hide the table the marquee is in?

%26gt; I was also wrong about FP, it also shows it all the way
down there too.

%26gt;

%26gt; This idea has worked and gained me some kadoos. Works
better in IE than FF. In

%26gt;FF the page load also shows the table going down forever,
but only for a few

%26gt;seconds. (I can live with that, some have said its more
interesting than IE,

%26gt;gives them an idea of whats coming up). IE works just
fine.

%26gt; But boy, is it ever a pain in the butt to work in design
mode having to scroll

%26gt;so far so often. :)

%26gt; I have to resolve this.

%26gt; I suppose I could find some JS to do it if all else
fails :(

%26gt;

%26gt;

%26gt;

%26gt;

--



~Malcolm N....

~


%26gt; I understand the design time thing, put the code in and
saved it, but now I

%26gt; have two external CSS files for the same page.

%26gt; That doesnt seem right... do I put two pointers in the
head?

%26gt; Is there something I can put in the main .css file?



Design-time Style Sheets (DTSS) are handled internally. You
should *not*

have a %26lt;link%26gt; or @import for it in your document.



So, if you applied your DTSS properly, then it sounds like
the simple

CSS I gave you might not work for your page. Please provide
us a link to

your page and the DTSS .css file so we can take a look.





%26gt; Can I hide the table the marquee is in?



You can also do this with DTSS. Try this in you DTSS to hide
the marquee:



marquee { display: none !important; }





HTH,

Randy

No comments:

Post a Comment