Image swap script causing crashes.
I am writing a script that will randomly swap images between selected image frames. The script works fine (but it's still slow) on a smaller selection. But once the selection gets past 12/14 items it causes indesign to crash.
any thoughts?
thanks
if (parseFloat(app.version) < 6) {
main();
} else {
app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Swap Images");
function main(){
var mySelection = app.selection;
if (!mySelection.length < 3)
var framesArr = [];
var imagesArr = [];
for(var i = 0; i < mySelection.length; i++)
if(mySelection[i].allGraphics.length && mySelection[i].allGraphics[0].itemLink.status == LinkStatus.NORMAL) {
framesArr.push(mySelection[i]);
imagesArr.push(mySelection[i].allGraphics[0].itemLink.filePath);
randomizeLinks(framesArr, imagesArr);
} else {
alert("Please select three or more image frames");
function randomizeLinks(framesArr, imagesArr)
imagesArrRand = imagesArr.sort(randOrd);
swapImages(framesArr, imagesArrRand);
function randOrd()
return (Math.round(Math.random())-0.5);
function swapImages(frames, links)
for(var j = 0; j < frames.length; j++)
frames[j].allGraphics[0].remove();
//~ $.writeln(frames[j] + " " + links[j] + "\r\r")
frames[j].place(links[j]);
Hi tusharde,
AFAIK, ExtendScript does not support the use of Math.random() within an Array.sort(…) callback.
The callback function must provide a stable order.
@+
Marc
Similar Messages
-
CS3 Image Display Unstable-causes crash
Unable to drag or move large images around Photoshop CS3.
As I open more images the problem increases until at around 4-8 images, PS will crash.
Also, while working on an image, as I add layers and increase the history list, it becomes unstable and may crash. I can't trust it to work thru an image without loosing my work.
If I try to drag the image around, it will completely blank out--I can't see where I'm moving it to.
If I make the image (or images) smaller it DOES help.
The more(or larger) images that are open, the worse it gets until it finally will crash PS CS3.
This does NOT happen on CS2 installed on the same computer. It works fine.
I've tried all of fixes I can find in this forum.
Replaced preference file
Version cure disabled
Font preview disabled
Memory and cache changed up, down and sideways
Latest video drivers
All updates to OS and PS
Uninstalled and re-installed PS
Chants at midnight
XP Pro SP3 (didn't work with SP2 either)
4 gigs ram with dual core processor
Nvida 7900GS 256mb video ram
Wacom with latest drivers
I've been fighting this for months. It's never worked properly.
I'm willing to buy a new video card if someone can verify that they have had this same problem and it's helped. But if it's the video card, why does CS2 work fine?
I can load CS2 up with a dozen large images (RAW 10mb images), move, work, add layers--runs smooth as silk.
Can't help but think there is a bug in CS3.
Any help out there or Adobe techs willing to work with me in resolving this?
Thanks
T.O.Thanks Dave, but I tried that already.
I think--(give it some time to make sure)--I might have found it.
Even though I had the latest drivers for the Wacom, I think that was the problem.
I removed them. Then installed a version that was 3 or 4 old.
Over the course of the past two days, I've now been able to get as many as 15 files opened, drag them around, paint on them, copy and paste, make layers, etc. and it's still hanging in there.
So the latest and greatest drivers aren't always the answer.
Thanks
T.O. -
GP login script causes windows to crash
We have a script that runs on all computers that opens our intranet. This script crashed Windows build 9926 overtime. Is there any way to fix this. Also I can't install the new build because the HP printers update fails everytime.
Hi,
How did you determined that it is the script caused this problem? If this problem caused by the script indeed, what't the function of this script?
For HP printer problem, it's probably a driver compatibility with new system problem, it would be better to contact HP support to confirm this issue.
Roger Lu
TechNet Community Support -
Image Processor script won't close windows
I'm testing a client's favorite method for converting folders of, say, 1000 images from RAW to large JPEG. He now uses Photoshop in CS3: He opens File Menu > Scripts > Image Processor, designates a huge folder of RAW files, sets the right parameters, and saves to a different folder. Works perfectly (but slowly) on a Mac G5.
Now I am testing it on a Mac Pro in PS-CS4, the setup he wants to buy, using exactly the same parameters. Trouble is, the window that opens on each document isn't closed, and so they accumulate! Doesn't matter whether Tabs is enabled or not. Starts eating up scratch space and has the potential to open 1000 tabs or windows. Something is wrong.
Same operation works perfectly in PS-CS3 on this Mac Pro.
If the Close Window is missing from this repeating script, then it should be added back -- or a checkbox should be added: "Close each window." I haven't been able to create an Action that will close each window without confusing the Save/Save As mechanism in the script.
How can I report this apparent bug? Or can someone please tell me what I'm missing.
(I know there are other ways to accomplish this task. But this one should work!)From Kathy: "I still can not find out your issues here. You may try report this to adobe through this link.
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform"
Thank you, Kathy! This was the tip I needed. I thought that Adobe may, indeed, be monitoring this forum. Many manufacturers monitor and post in their own forums, e.g. Apple.
"Also one simple workaround for you, could be create a close action and run this action in Image Processor."
I really did try this. Trouble is, you run into unresolvable interactions with a Save As dialog. I.e. the Close Action seems to interfere with the saving of the converted JPEG. At least I couldn't get it to work -- but it should not be necessary.
There are workarounds, such as selecting multiple items in Bridge, opening them all into ACR, and then selecting them all and clicking Save File. Doesn't open any windows at all! But the bug still needs to be reported.
From Ramon: "Before your frustration causes you to become overly argumentative, you may want to consider that your interlocutor may actually know a bit more than you seem to think she does. Kathy may even be part of the Adobe team, for all you know."
You are reading way too much into what I said. Argumentative? I meant what I said literally. The behavior of the Image Processor script should not have any dependencies, and the documentation (such as it is) indicates none whatever. Further, the script, when run identically in CS3, runs perfectly. -
Image swaps with fade out and in
I am new to Dreamweaver, in fact only got into it to do my
own website. I want to create image swaps with a fade out and then
fade in with the new image. Nowhere can I find out how to do this
so far. Can anybody point me in the right direction. Many thanks
for your help now and in the past.
PerspectivistThis is a multi-part message in MIME format.
--------------000605070301090808040601
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
i see! well, that's good to know. i didn't realize you could
do
transitions on image swaps (of course, i've rarely used them
so far).
and i just assumed the OP was actually trying to do a
slideshow, which
could still be the case i guess. i suppose he's covered
either way!
Nancy O wrote:
> There are several image transition scripts on this page:
>
http://www.brothercake.com/site/resources/scripts/transitions/
>
>
>
> --Nancy O.
> Alt-Web Design & Publishing
> www.alt-web.com
>
>
>
> "Perspectivist" <[email protected]>
wrote in message
> news:[email protected]...
>
>> I am new to Dreamweaver, in fact only got into it to
do my own website. I
>>
> want
>
>> to create image swaps with a fade out and then fade
in with the new image.
>> Nowhere can I find out how to do this so far. Can
anybody point me in the
>> right direction. Many thanks for your help now and
in the past.
>>
>> Perspectivist
>>
>>
>
>
>
--------------000605070301090808040601
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
i see! well, that's good to know. i didn't realize you could
do
transitions on image swaps (of course, i've rarely used them
so far).
and i just assumed the OP was actually trying to do a
slideshow, which
could still be the case i guess. i suppose he's covered
either way!<br>
<br>
Nancy O wrote:
<blockquote cite="mid:[email protected]"
type="cite">
<pre wrap="">There are several image transition
scripts on this page:
<a class="moz-txt-link-freetext" href="
http://www.brothercake.com/site/resources/scripts/transitions/">http://www.brothercake.com /site/resources/scripts/transitions/</a>
--Nancy O.
Alt-Web Design & Publishing
<a class="moz-txt-link-abbreviated" href="
http://www.alt-web.com">www.alt-web.com</a>
"Perspectivist" <a class="moz-txt-link-rfc2396E"
href="mailto:[email protected]"><[email protected]></a>
wrote in message
<a class="moz-txt-link-freetext"
href="news:[email protected]">news:[email protected]</a >...
</pre>
<blockquote type="cite">
<pre wrap="">I am new to Dreamweaver, in fact only got
into it to do my own website. I
</pre>
</blockquote>
<pre wrap=""><!---->want
</pre>
<blockquote type="cite">
<pre wrap="">to create image swaps with a fade out and
then fade in with the new image.
Nowhere can I find out how to do this so far. Can anybody
point me in the
right direction. Many thanks for your help now and in the
past.
Perspectivist
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>
--------------000605070301090808040601-- -
Next / previous image swap WITH larger image popup
Very simply what I need to do is almost identical to what you
see here:
http://www.java-scripts.net/javascripts/Slide-Show-Script.phtml
(scroll down to the animal pictures)
When you click "next" and "previous" the images swap through
a series
called "img1.gif" "img2.gif" and "img3.gif"
So far so good. However let us assume there is also a set of
images called
"img1_lrg.gif" "img2_lrg.gif" and "img3_lrg.gif" which are
larger
versions of those little thumbnails. I need for the
appropriate associated
large image to popup in its own window when the thumb is
clicked.
Has anyone a lead on something like that?
Thanks very much.On Thu, 28 Sep 2006 17:59:37 +0000 (UTC), [email protected]
(Clay)
wrote:
>Very simply what I need to do is almost identical to what
you see here:
>
>
http://www.java-scripts.net/javascripts/Slide-Show-Script.phtml
>
>(scroll down to the animal pictures)
>
>When you click "next" and "previous" the images swap
through a series
>called "img1.gif" "img2.gif" and "img3.gif"
>
>So far so good. However let us assume there is also a set
of images called
>
>"img1_lrg.gif" "img2_lrg.gif" and "img3_lrg.gif" which
are larger
>versions of those little thumbnails. I need for the
appropriate associated
>large image to popup in its own window when the thumb is
clicked.
>
>Has anyone a lead on something like that?
>
>Thanks very much.
That sounds simple, where are you stuck? Do you not know how
to open a
popup? BTW, the JustSo Picture Window extension would be
perfect for
the popups. -
Barn doors transition causes crash
Dear Community,
Applied barn doors transition to a project in CS4. Stored that project in 2010.
Opened the project in CS6 CC - and barn doors caused crashes - so I cleaned off the old and applied replacement barn door transitions in CS6 CC.
Once the wipe is applied - its fairly stable - sometime crashes sometimes doesn't.
If I apply a broder colour to the wipe - all ok.
If I then apply a border thickness - crash every time.
System;
Premiere Pro CS6 - 6.0.3 (001 (MC: 264587)) through cloud membership
Updated and current
Win 7 Pro - SP1 - 64 Bit
Source footage SONY EX3 - .mp4 and still image .png's
No error messages - just crash and need to restart PP CS6
Try to apply colour and border to a barn door transition causes the error
This worked before on the smae project when created in CS4
Not running other software at the time
NewBlueFX modules installed but not applied to this area of sequence
i7 - 3.20GHz, 16GB RAM, SSD OS drive, 4 x drive RAID on LSI RAID card, - No I/O hardware
I am using Are you using Mercury Playback Engine Acceleration and CUDA
Problem occurs during normal edit - as soon as I start to adjust the barn doors wipe - I don't get to compression
Thanks
DaveDoies it help anyone that I just received this from the email address; [email protected];
Hello,
You have received this email because the content you posted below has been rejected by our moderators.
Re: Barn doors transition causes crash
posted Jun 5, 2013 5:15 PM
Since the original report earlier today - I now just have to put the timeline scrubber over the barn doors transition and PP CS6 closes without an error message and without saving. The unfortunate part here is there doesn't seem to be any record or log of the crashes to be able to disseminate whats going wrong.
Barn doors worked in CS4 - and the only change in this project is the re-opening in CS6 CC."
Question; Did I put something in there that was defammatory, rude, obnoxious, incorrect or un-helpful?
If anyone here believes I did, I sincerely apologise for the need of moderators to have intervened... and for causing any offence. -
I don't seem to be able to get images swapped on page load. I
can do it on mouseover. I'm an absolute newbie. Any help would be
welcome. Thank you.> I tried doing it with the body tag selected, but it
seems to do the swap
> on a
> different image on the page.
You need to read my post again and follow the directions
exactly. The
behavior itself will require that you select an image already
on the page,
and also that you select a new image to replace it.
> I want to use this behavior for some quotes. I want the
images to
> alternate,
> so each time the browser is loaded, a different quote is
displayed.
The question you asked, and the answer I provided will not do
this for you.
It will always load the page with the new image swapped in.
You should look
for a "random image" script using Google....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"AzKhodgi" <[email protected]> wrote in
message
news:fl0o66$kb9$[email protected]..
> Thanks for the reply!
>
> I tried doing it with the body tag selected, but it
seems to do the swap
> on a
> different image on the page. I selected the image I
wanted to swap, named
> it,
> then clicked on the body tag, applied the behavior, but
still the wrong
> image
> got swapped.
> ------------
> I want to use this behavior for some quotes. I want the
images to
> alternate,
> so each time the browser is loaded, a different quote is
displayed.
> -
The image swap and restore won't work. I want to have one
image switch to another when clicked and then get restored to the
original image when clicked again. It lets me click once, but it
won't restore the image on another click. I found that when i
change the behavior (to say, double click) it works. Is there any
way to have the two images toggle back and forth when i have a
single click?
Here is my code:
<script type="text/JavaScript">
<!--
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_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_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>
</head>
<body>
<table width="287" height="1200" align="left">
<tr>
<td width="279" height="1200" align="left"
valign="top">
<p><img src="SearchingClose.jpg" alt="Searching"
name="SearchingClose"
onclick="MM_swapImgRestore();MM_swapImage('SearchingClose','','SearchingOpen.jpg',1)"
/></p>On Thu, 3 Aug 2006 12:25:09 +0000 (UTC), "nst_21710"
<[email protected]> wrote:
>please help!!!
With what ? - very many of use use newsreaders to access this
forum,
so cannot easily see what the original questions was - so
many people
will just go to the next message.
I suggest you repeat the text of your original question -
together
with a link to your website.
Malcolm
Malcolm
webmaster
http://www.nb-president.org.uk/
The coal fired steam narrow boat.
Kildare is now back in the water -
I have a site that I want to set themed months too by having
an image swap. I've tried searching the web for various image swaps
but nothing seems to come up that would read the users calender to
figure out what image to display. I was wondering if you know of a
script out thier that would do this? Hopefully one that comes with
a troubleshooting guild since I've never had much luck with this
kind of thing. Thanks!!!c-fqgy wrote:
> I have a site that I want to set themed months too by
having an image swap.
> I've tried searching the web for various image swaps but
nothing seems to come
> up that would read the users calender to figure out what
image to display. I
> was wondering if you know of a script out thier that
would do this? Hopefully
> one that comes with a troubleshooting guild since I've
never had much luck with
> this kind of thing. Thanks!!!
>
<script>
onload=function(){
document.images["imageOfTheMonth"].src=
["jan.gif","feb.gif","mar.gif", ... ,"dec.gif"][new
Date().getMonth()];
</script>
<img name="imageOfTheMonth" src="transparent.gif">
In the anonymous Array ("jan.gif" etc), list the src's of the
12 images
you want to display.
I acn be reached by removing BOGUS from my email.
Mick -
CSS Image Swap Conundrum Link Rel
Hi. I apologise in advance for the length of the post. It's probably very simple for you, but it's killin' me.
http://jchmusic.com
I've been experimenting with two ideas that are conflicting with one another.
The first is that I wanted to integrate my wordpress-based blog into my site so they look/feel the same. I did this by using a php include in the index page of the blog which reads in the sidemenu of my main site sidemenu.shtml. Seemed to work OK, BUT in order to have the menu look/feel correct it has to read the style sheet from the main site, default.css. So I guess I 'cheated' by adding a <head> statement to sidemenu.shtml like so:
<head>
<link rel="stylesheet" href="http://jchmusic.com/default.css" type="text/css"/>
</head>
...note that it reads in the full path of the style sheet, since the wordpress blog 'lives' in another folder. (I made various attempts at including the style sheet into the blog as a whole but they were disasters. The selector names and ids conflict and it's a MESS.
As I said that works. Now the second issue:
Also on sidemenu.shtml is the top site graphic JCHMusic. There are actually two graphics, JCHMusic for when the user is at the main page and JCHMusic+themusicofjcharris which displays when the user is at any other page. The 1st is hidden in the default style sheet using display:none. When the user is at the main page, the 2nd graphic is hidden using a local stylesheet which reverses the display property. Works fine.
EXCEPT THAT, there is something about having that extra head in sidemenu.shtml that prevents the image swap from working.
IOW: if I remove those 3 lines from sidemenu.shtml, the image swap occurs as expected. But of course, when I do that, it destroys the look of the menu when the user selects the blog.
Can I have my cake and eat it too?
TIA,
---JCParent level pages must contain only one set of the following:
1) Valid Document Type
2) Hhtml tags
3) Head tags
4) Body tags
Server-Side includes are nothing more than snippets of reusable HTML code. Most often we use them for shared page elements such as headers, footers and menus. No great mystery to using them really.
http://forums.adobe.com/message/2112460#2112460
SSIs cannot contain any of the above mentioned HTML tags as they already exist on the parent page. If you put additional <head> tags into your include files, this will result in duplicate <head> tags in the parent page once content is parsed by the server. You don't want this to happen. Incidentally, code errors (even small ones caused by YouTube and Amazon code) can cause browser rendering issues. All code errors can and should be fixed.
Finally, If you want to reference an external stylesheet that is currently outside your WP folder, copy the CSS file to your WP folder and put your external stylesheet link inside the WP Parent page; not in the include file.
Good luck with your project,
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
Greetings. I have to create image swaps without having the
image resize
to the layer size. Is there a way to do this? Is there a
behavoiur I
can purchase that will do this?
Any help appreciated.
Remove $$ to email directly.
Thanks.Or, simply remove the dimensions from the base image's
<img> tag. This will
work although if the images are grossly different in size, it
may cause your
page to dance around (perhaps unacceptably) as the roll-in
image loads.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"jojo **Adobe Community Expert**" <[email protected]>
wrote in message
news:ee99f8$jrf$[email protected]..
> "krafty$$"@magma.ca wrote:
>> Greetings. I have to create image swaps without
having the image resize
>> to the layer size. Is there a way to do this? Is
there a behavoiur I can
>> purchase that will do this?
>
> Hi
>
> Give the smaller image a bigger canvas and make the
canvas the same colour
> as your pages bg colour.
>
> --
> Cheers jojo
> Adobe Community Expert for Dreamweaver 8
> ----------------------------------------------------
>
http://www.webade.co.uk
>
http://www.ukcsstraining.co.uk/
> ----------------------------------------------------
> Extending Knowledge, Daily.
>
http://www.communityMX.com/
> Free 10 day trial
>
http://www.communitymx.com/joincmx.cfm
> ---------------------------------------------------- -
Drop down menu with image swap
I have a drop down menu that I need some help with. The page is here: http://www.healthquestpt.com/lwh/
The default menu as you see it is the way I want it: gray tab background, white text that is centered on the image. What I want to make happen with it is when you mouseover the link to have the image swap from: to: and I want the text in this "tab" to remain centered and change to blue
For the dropped down links I just want a plain white background, the links to be aligned left and the default color to be blue. I want the text hover color to be gray.
Ive tried various things and I cant seem to figure how to get style attributes assigned correctly.
All help is GREATLY appreciated!!!
My css file is here: http://www.healthquestpt.com/lwh/styles.css
and the dropdownmenu.js file is here: http://www.healthquestpt.com/lwh/scripts/dropdownmenu.js
P.S. I'm using DW CS6You might want to try out the Spry menus which ship with Dreamweaver.
Below is the code for the menu BUT you'll have to make sure the SpryMenuBar.js file is in your site folder for the sub-menus to work.
Best way of doing that is to open a blank page. Go to Insert>Spry>Spry Menu Bar>Horizontal>save page which will create a folder named SpryAssets into your site folder. Open up the SpryAssets folder and delete the file - SpryMenuBarHorizontal.css
Copy and save code below into a new Dreamweaver document and save it to your side folder. Run it via a browser.
<!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" />
<title>Untitled Document</title>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<style>
ul.MenuBarHorizontal
margin: 0;
padding: 0;
list-style-type: none;
font-size: 13px;
cursor: default;
width: auto;
font-family: Tahoma, Arial, Helvetica, sans-serif;
font-weight: bold;
ul.MenuBarActive
z-index: 1000;
ul.MenuBarHorizontal li
margin: 0;
padding: 0;
list-style-type: none;
position: relative;
width: 140px;
float: left;
margin-right: 4px;
ul.MenuBarHorizontal ul
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 8.2em;
position: absolute;
left: -1000em;
ul.MenuBarHorizontal a
display: block;
background-color: #666;
text-decoration: none;
text-align: center;
padding: 4px 0;
color: #fff;
border-top: 1px solid #666;
border-right: 1px solid #666;
border-left: 1px solid #666;
-moz-border-radius: 10px 10px 0 0;
-webkit-border-radius: 10px 10px 0 0;
-khtml-border-radius: 10px 10px 0 0;
border-radius: 10px 10px 0 0;
ul.MenuBarHorizontal a:hover
background-color: #fff;
color: #39C;
border-top: 1px solid #666;
border-right: 1px solid #666;
border-left: 1px solid #666;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
left: auto;
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
width: 140px;
ul.MenuBarHorizontal ul li a
background-color: #FFF;
color: #666;
border: none;
text-align: left;
ul.MenuBarHorizontal ul li a:hover
border: none;
color: #39C;
BROWSER HACKS: the hacks below should not be changed unless you are an expert
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inline;
f\loat: left;
background: #FFF;
</style>
</head>
<body>
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#">Office Supplies</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
<li><a href="#">Paper & Printing</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="#">Filing</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Mailing & Shipping</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a href="#">Furniture</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a href="#">Audio Visual</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
</ul>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html> -
I have set up an image gallery using image swap in the behaviours window. It only shows a thin line where the large picture should be in IE. It does work in all the other browsers.
Please help.Welcome to the Forum.
We can't help much without seeing your problem page.
Please post a link to your online page. -
Okay, I've got a glitch with an image swap. There are sopmething like a half a dozen pages in the site rebuild that have image swaps and none of the other have any problems. But this one has managed to find a glitch and likes it so much it won't let go.
I've got the usual table arangement (as in the Classroom in a Book chapter 10 lesson) with the base image in one cel and the links in the others. There are three images that swap out with the main one. I'm using the behavior of clicking on the link to swap the image, not a MouseOver. People are supposed to look at the images, and then if they feel like it they can put the base image back by clicking on that link.
No problem with the first image. No problem with the 2nd. No problem with restoring the original image.
But. No matter how many times I've relinked the 3rd image, clicking on it in a browser gives me a blnk browser page with a message claiming that the image does not exist. When I hit the back button to get back to the page, there is the image right where it is supposed to be. So clearly the code is finding it, but it's sending out a false alert first.
I am assuming that the glitch is in the code, but I don't know enough about code to know what I am supposed to be looking for to find it.
Any pointers?
J. OdellI went back and hunted through it again and found the problem. Somehow the code was putting a '3' where there ought to have been a hashtag. No idea why it was doing that, but once I replaced it with a hashtag the problem went away.
I'd relinked it a half a dozen times, so it evidently really liked that glitch.
BTW, can you give me any pointers on how you adjust the spacing between paragraphs? two full lines is more than really needed to make the distinction between paragraphs. The version of CSS that GoLive 8 used recognized a setting for adding something like one and a half lines between them. But if that's still in there I don't know what they call it these days. I would assume that it would be in the Block settings along with the justification, but nothing in there looks right.
Maybe you are looking for
-
Discoverer Custom SQL Report with Group By,Having
Hi all, I'm working with Discoverer 4.1.41.05 and retrieve data from Oracle HRMS. I want to create a report based on a custom SQL Folder in Discoverer Administration to solve the following scenario: SELECT EMPLOYEE_NUMBER FROM PER_ALL_PEOPLE_F MINUS
-
BAPI_GOODSMVT_CREATE - Error - RE Qty. transferred exceeded 1 PC
Hi Experts, We are trying to do the material document posting using the transaction "MB1C" manually in SAP. The movement type which we are using for the same is "261". While doing this is, it is asking for a work order number and the Recipient numb
-
Since updating to ios 7.1.2, phone won't sync with itunes
I'm using a macbook pro with mavericks as well as the latest version of itunes (11.2.2). I had some minor issues with my iphone 4s and was told by a guy at the apple store to update to ios 7.1.2 (from ios 7), and since this whenever I try to sync (vi
-
HELP! Overlapped regions in multitrack drums
Hi, I've 8 tracks drum recording, all are grouped for multitrack editing. OK. I need to copy a drum fill in another position of my song. With marquee tool I select and copy a selection to another position overlapping to other regions. Now I need to f
-
Any better solution for this ?
public static void main (String args []) for (int row = 1; row <= 5; row++) for (int col1 = 4; col1 >= row; col1--) System.out.print(" "); for (int col2 = row*2; col2 > 1; col2--) System.out.prin