Alt tags on Javascript

Hi I have a random image javascript generator but I need to
get each image to have an alt tag (the same for each image is
fine). Can anybody help please
my code is attached:

Change this -
<script language="JavaScript">
to this -
<script type="text/javascript">
and this -
document.write("' border='0' />");
to this -
document.write("' border='0' alt='whatever' />");
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
==================
"russell van gravy" <[email protected]>
wrote in message
news:gbdf3p$jcd$[email protected]..
> Hi I have a random image javascript generator but I need
to get each image
> to
> have an alt tag (the same for each image is fine). Can
anybody help please
>
> my code is attached:
>
>
> <script language="JavaScript">
>
> // Drummy's Random Image Script
> // (C) 2006 Paul Voth, Drummy.org
> // Please leave this copyright notice
> // In the script if you're gonna use it :)
>
> function get_random()
> {
>
> // Make sure that random()*X) has the correct
> // number. The number of images defined below.
> var ranNum= Math.floor(Math.random()*5);
> return ranNum;
> }
> var whichImg=get_random();
>
> function show_image() {
>
> // Add your images here.
> // Make sure that Array(X) has the number
> // of images that you want to include
> var img=new Array(5)
> img[0]="
http://www.eurocell.co.uk/img1.jpg";
> img[1]="
http://www.eurocell.co.uk/img2.jpg";
> img[2]="
http://www.eurocell.co.uk/img3.jpg";
> img[3]="
http://www.eurocell.co.uk/img4.jpg";
> img[4]="
http://www.eurocell.co.uk/img5.jpg";
> // Here the actual displaying of the image is taking
place.
> document.write("<img src='");
> document.write(img[whichImg]);
> document.write("' border='0' />");
> }
> </script>
>

Similar Messages

  • How to include alt tags in Javascript

    how do I get the javascript in my navigation menu to be read from an external file (java include)?
    I've never learned how to create an external file so I'm a little hazy on how to accomplish this task.
    Thanks!
    Lynn

    Hi! Thanks for attempting to answer my question...frankly I'm not sure what I'm asking.
    My pages are coldfusion (.cfm) and I have two javascript areas on the page where there is a navigation menu and a set of swapping .swf files. what I believe my graphic department is asking me to do is to create a file in my includes folder that will provide the scripting for the menu and will include the alt tags for each of the items on the naviation menu.
    Not a friggin' clue on how to accomplish this...so I'm looking for a tutorial or tutor. the website is www.calibresys.com
    Thanks!
    Lynn

  • Can't find images in Iweb SEO Tools to add alt-tags!

    Hi everyone. I'm trying to add alt-tags to some images on an iweb site with iweb SEO tools but I can't get it to open the containing folder. I have a gallery set up with 6 categories and, in each of these categories, there are a few images. I navigate to the folder that contains each image (it actually contains 4 - the full sized image and three thumnails for use elsewhere - all of them jpgs) but iweb SEO Tools is just not recognising that the folder contains any images at all! I navigate my way through my file structure and, when I finally get to the containing folder, it hits a dead end and will not find the contents of it. Any ideas!?
    An example of my file structure is as follows:
    RRF
    - Gallery
    - Pages
    - Landscapes_files
    - Media
    - dintonpastures [containing folder for images]
    - dintonpastures.jpg [that SEO refuses to see!]
    Any help would be really appreciated!!

    Photo templates are written in Javascript and cannot be accessed by iWeb SEO. Only images you create on a blank page or without using the photo template (HTML generated). They don't tell you that on Rage's website, in fact I find their advertising misleading in that they claim that you can alt tag "all" images in iWeb. But, it's free software, so you get what you pay for.

  • Alt tags for Flash content; How do I get rid of them

    With the new Dreamweaver update, all my flash files have
    acquired Alt tags. I imagine this has something to do with the
    javascript it is now using to load the content. However, how do I
    get rid of them! My clients HATE them, and I do too!

    OK -
    This is the only markup you need to worry about -
    <script type="text/javascript">
    AC_FL_RunContent(
    'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    version=8,0,22,0','width','751','height','126','src','../SWFs/topNav?<%=Request.
    QueryString%>','quality','high','wmode','transparent','pluginspage','
    http://www.
    macromedia.com/go/getflashplayer','movie','../SWFs/topNav?<%=Request.QueryString
    %>' ); //end AC code
    </script>
    But I have to ask you - what is the VBScript in there doing?
    It seems to me
    to be invalid as well - 'request.querystring' needs a
    "(stringname)" or an
    empty (), no?
    So - there is no "alt" attribute specified in there (nor can
    there even be
    one on Flash, anyhow). Without seeing the actual page, I can
    only shrug and
    say I have no idea....
    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
    ==================
    "QuantumDynamix" <[email protected]> wrote
    in message
    news:[email protected]...
    > Here...I'll attach the code (btw, the file is called
    topNav.swf)
    >
    >
    >
    > <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=8,0,22,0','width','751','height','126','src','../SWFs/topNav?<%=Request.
    >
    QueryString%>','quality','high','wmode','transparent','pluginspage','
    http://www.
    >
    macromedia.com/go/getflashplayer','movie','../SWFs/topNav?<%=Request.QueryString
    > %>' ); //end AC code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=8,0,22,0" width="751" height="126">
    > <param name="movie"
    >
    value="../SWFs/topNav.swf?<%=Request.QueryString%>">
    > <param name="quality" value="high">
    > <param name="wmode" value="transparent" />
    > <embed
    src="../SWFs/topNav.swf?<%=Request.QueryString%>" width="751"
    > height="126" quality="high" wmode="transparent"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash"></embed>
    > </object></noscript>
    >

  • Alt Tags on slide shows

    Im trying to attach some Alt Tags to a sliding image but not sure how to go about it.
    <script type="text/javascript">
    var fadeimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages[0]=["images/template1web.jpg", "", ""]
    fadeimages[1]=["images/template2web.jpg", "", ""]
    fadeimages[2]=["images/template3web.jpg", "", ""]
    fadeimages[3]=["images/template4web.jpg", "", ""]
    fadeimages[4]=["images/template5web.jpg", "", ""]
    fadeimages[5]=["images/template6web.jpg", "", ""]
    fadeimages[6]=["images/Template7web.jpg", "", ""]
    fadeimages[7]=["images/Template8web.jpg", "", ""]
    fadeimages[8]=["images/Template9web.jpg", "", ""]
    fadeimages[9]=["images/template10web.jpg", "", ""]
    fadeimages[10]=["images/template11web.jpg", "", ""]
    fadeimages[11]=["images/template12web.jpg", "", ""]
    var fadebgcolor="white"
                  </script>
                          <script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages, 347, 282, 0, 3000, 0)
                                      </script>
    Can anyone help
    Many thanks
    James

    Hi Murray
    im guessing you're looking for the script from the .js file which is attached to this slide show
    WELL HERE IT IS
    Thanks
    var stopped = false;
    ////NO need to edit beyond here/////////////
    var fadearray=new Array() //array to cache fadeshow instances
    var fadeclear=new Array() //array to cache corresponding clearinterval pointers
    var dom=(document.getElementById) //modern dom browsers
    var iebrowser=document.all
    function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
    this.pausecheck=pause
    this.mouseovercheck=0
    this.delay=delay
    this.degree=30; //initial opacity degree (10%)
    this.init_degree =30;
    this.curimageindex=0
    this.nextimageindex=1
    fadearray[fadearray.length]=this
    this.slideshowid=fadearray.length-1
    this.canvasbase="canvas"+this.slideshowid
    this.curcanvas=this.canvasbase+"_0"
    if (typeof displayorder!="undefined")
    theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter)
    this.theimages=theimages
    this.imageborder=parseInt(borderwidth)
    this.postimages=new Array() //preload images
    for (p=0;p<theimages.length;p++){
    this.postimages[p]=new Image()
    this.postimages[p].src=theimages[p][0]
    this.Mfadewidth=fadewidth+this.imageborder*2
    this.Mfadeheight=fadeheight+this.imageborder*2
    var fadewidth=fadewidth+this.imageborder*2
    var fadeheight=fadeheight+this.imageborder*2
    if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
    document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"> <div onmouseover="pauseIT(this, true);" onmouseout="pauseIT(this, false);" id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filte r:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:10;-khtml-opacity:10;backgro und-color:'+fadebgcolor+';"></div><div onmouseover="pauseIT(this, true);" onmouseout="pauseIT(this, false);" id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filte r:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:10;-khtml-opacity:10;backgro und-color:'+fadebgcolor+';"></div></div>')
    else
    document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
    if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
    this.startit()
    else{
    this.curimageindex++
    showTime = setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
    function fadepic(obj){
    if (obj.degree<100){
    obj.degree+=10;
    //alert(obj.degree);
    if (obj.tempobj.filters&&obj.tempobj.filters[0]){
              if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
              obj.tempobj.filters[0].opacity=obj.degree
              else //else if IE5.5-
              obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
    }else if (obj.tempobj.style.opacity){
              obj.tempobj.style.opacity=obj.degree/101
    }else if (obj.tempobj.style.KhtmlOpacity){
              obj.tempobj.style.KhtmlOpacity=obj.degree/100
    else{
    clearInterval(fadeclear[obj.slideshowid])
    obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
    obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
    obj.populateslide(obj.tempobj, obj.nextimageindex)
    obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
    setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
    fadeshow.prototype.populateslide=function(picobj, picindex){
    var slideHTML=""
    if (this.theimages[picindex][1]!="") //if associated link exists for image
    slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
    slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
    if (this.theimages[picindex][1]!="") //if associated link exists for image
    slideHTML+='</a>'
    picobj.innerHTML=slideHTML
    fadeshow.prototype.stopit=function()
              clearInterval(fadeclear[fadearray[this.slideshowid].slideshowid]);
              stopped = true;
    fadeshow.prototype.rotateimage=function(){
    if(!stopped){
    if (this.pausecheck==1) //if pause onMouseover enabled, cache object
    var cacheobj=this
    if (this.mouseovercheck==1)
    setTimeout(function(){cacheobj.rotateimage()}, 100)
    else if (iebrowser&&dom||dom){
    this.resetit()
    var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
    crossobj.style.zIndex++
    fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
    this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
    else{
    var ns4imgobj=document.images['defaultslide'+this.slideshowid]
    ns4imgobj.src=this.postimages[this.curimageindex].src
    this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
    fadeshow.prototype.resetit=function(){
              if(!stopped){
                        this.degree = this.init_degree;
                        var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
                        if (crossobj.filters&&crossobj.filters[0]){
                                  if (typeof crossobj.filters[0].opacity=="number") //if IE6+
                                  crossobj.filters(0).opacity=this.degree
                                  else //else if IE5.5-
                                  crossobj.style.filter="alpha(opacity="+this.degree+")"
                        }else if (crossobj.style.opacity){
                                  crossobj.style.opacity=this.degree/101
                        }else if (crossobj.style.KhtmlOpacity){
                                  crossobj.style.KhtmlOpacity=this.degree/100
    fadeshow.prototype.startit=function(){
    var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
    this.populateslide(crossobj, this.curimageindex)
    if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
    var cacheobj=this
    var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
    crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
    crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
    this.rotateimage()
    function pauseIT(obj,state)
              var pausedTD = document.getElementById("pausedTD");
              //obj.style.cursor='e-resize';
              if(this.pausecheck){
                        if(state)
                                  pausedTD.innerHTML = '<img src="images/paused2.gif" width="56" height="15" alt="">';
                        else
                                  pausedTD.innerHTML = '<img src="images/spacer.gif" width="56" height="15" alt="">';

  • How can I alt tag the TOC button that appears at the top of the menu?

    Running the current version of Cp7 on a windows 7 machine.
    A 508 hang up once again: The customer insists on an active TOC for the project file. We've activated the TOC and it works fine, but there's a secondary TOC expand/collapse button located at the top of the slide right here:
    Although I can change the icon for the expand/collapse TOC in the TOC setting menu:
    I can't put an alt tag on the button, meaning that JAWS and other screen readers just reads it as an unnamed button - which would be "bad" if you're trying to pass a 508 compliance test - which I am. I know alt tags don't travel with the image file, and I can't find any way to access the file in Captivate to give it an accessibility name. Anybody have a workaround?
    Justenuf

    You can replace the current image with one of your own choosing.  But even if you make the replacement just a one pixel GIF, I think it will still register somewhere in the screenreader as a button. 
    However, to be fair to Captivate, you can use the TOC button on the playbar to activate the TOC if need be, or you can set up on screen buttons to do that.
    Personally, I wouldn't be using an overlay TOC at all.  I'd be trying for a Separate TOC so that it was available all the time.
    However, I had read somewhere on this forum (a year or so back) about someone else finding that the links on the TOC itself were not completely 508 compliant.  So maybe you're just chasing your tail here if you're trying to achieve perfect 508 compliance.

  • How do I add an alt tag to an image in Photoshop CS5 so that it is web ready?

    How do I add an alt tag to an image in Photoshop CS5 so that it is web ready?  My web developer wants me to send him all of my images with an alt-tag assigned so that he can automate the ADA accessibility of the website. I know when I choose to "Save for Web & Devices," I have the option of how much metadata I want to include to the levels of : None, Copyright, Copyright and Contact Info, All Except Camera Info, All.  I don't want the audience to be able to view all of the metadata because a lot of it is sensitive with administrative notes.  Any ideas?

    To anyone else who may encounter this issue in the future, here is a work around:
    File > File Info:
    Sacrifice a metadata field in the description tab.  I chose document title and description. Click OK.
    File > Save for Web and Devices:
    Choose to save All Metadata. 
    Leave things here on your end, and have the web-developer map the code to display only the appropriate metadata field.

  • Safari and image ALT tags

    I was testing out some html stuff last night involving images, I hover over a few images and to my absolute horror - realised that ALT tags weren't working.
    Now I can't remember if they worked before I updated to 10.4.5 but I think they did as I distinctly remember seeing alt text as images were loading but I cannot be 100% sure.
    The only changes I've made recently is 10.4.5 and installed flash player 8 plugin.
    Someone please tell me that ALT tags do work in safari and that they are not working due to an update bug or setting or something???
    Please!!
    Thanks

    Hello,
    The current version of the service does not include the functionality to update a page title and description. For the images, the ALT text can be updated by opening the Advanced menu on the right and filling in the Tooltip field.
    Regards,
    Cristinel

  • Unable to Add Alt Tags to Placed Images

    I am developing a flyer that will be distributed as a PDF, and our requirement is that it be "Section 508" compliant, that is, readable by a screen reader. I am trying to add alt tags to the images in order to meet this requirement, but when I go to Object -> Object Export Options and click on the Alt Text tab, theAlt Text Source pull-down menu is greyed out and does not allow me to do anything.
    Does anyone have any idea of what is wrong here?

    It's working for me in the current version of InDesign CC.
    Version of InDesign? Computer platform? What file format is the image in?
    Have you tried restoring your InDesign preferences? Here's how:
    Troubleshooting 101: Replace, or "trash" your InDesign preferences

  • Alt tags

    how do i add alt tags to images in my pdf file

    Open a PDF with Acrobat Pro. Have the Navigation panel showing (F4 if it is not).
    Now you want the Tags pane available via the Navigation panel.
    For Acrobat XI Pro (Acrobat X Pro will be something similar):
    View > Show/Hide > Navigation Panes > Tags
    You open the Tags pane. Is the structure tree present? If so then the PDF is tagged.
    A quick check is to open a PDF's Document Properties. Under the Description tab at the bottom left the is a "Tagged PDF" entry. Thing is this entry can be 'spoofed' without the PDF actually being tagged. So, I prefer the check of the Tags pane.
    Be well.

  • Large Image - ALT tags

    How do I remove the automatic alt tag from my large product image?
    I have replaced my images with you tube videos so now the alt tags are visible at all times.

    I am guessing it is just an image and you have a custom field for the youtube link.
    And what you are doing is putting the tag {tag_videoimage} like..
    <img src="{tag_videoimage}" alt="Video" />
    If you are you will have this issue because that tag will render its own image html wrapped in an ancor tag.
    You will need to add _value to your tag..
    {tag_videoimage_value}

  • 508 "Alt tagging" of images in Captivate?

    Hi,
    I have a Capitvate files that's published as an exe which needs to be fully 508 Compliant. Does anyone have any ideas how to enable ALT tagging of images in an exe? Is that even possible? I thought that you could only do this for web content.
    I selected auto-tag for images in Capitvate, though the Jaws screen reader didn't read the descriptions. How is the auto-tagging supposed to work exactly?
    Thanks,
    Dan

    HTML5 publish viewed on Windows Vista in the following browsers:
    IE9
    Safari
    Chrome
    Also prevalent on iPad iOS 7
    I see the layout bug everytime I view the page with the tabs displayed.

  • Dynamic Image Alt Tags

    Hi,
    I used dreamweaver, with php and server behaviors to bind
    dynamic Image Alt Tags on dynamically generated images.
    The dynamic image Alt Tags are showing in Internet Explorer
    but not showing in Mozzila Firefox?
    Does anyone know why or how to fix that?
    Mathuman

    They are attributes, not tags. And the alt attribute is not
    supposed to
    show in any browser unless the user has disabled images for
    faster
    downloads. If you want a 'tooltip' effect, then you would
    have to use the
    title attribute, not the alt attribute to do that, e.g.,
    <img src="foo.jpg" alt="this will not display" title="this
    will display" />
    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
    ==================
    "mathuman" <[email protected]> wrote in
    message
    news:ghqmnv$i0h$[email protected]..
    > Hi,
    >
    > I used dreamweaver, with php and server behaviors to
    bind dynamic Image
    > Alt
    > Tags on dynamically generated images.
    >
    > The dynamic image Alt Tags are showing in Internet
    Explorer but not
    > showing in
    > Mozzila Firefox?
    >
    > Does anyone know why or how to fix that?
    >
    > Mathuman
    >

  • Netui tags and javascript

              Hello Gang, not sure if anyone has run into this issue, but here it goes.
              I got a netui:form with netui:checkboxes that I need to have a specific type of
              functionality.
              The first netui:checkbox when checked calls a javascript function that enables
              the remaining netui:checkboxes so that the user can check them.
              Except the first netui:checkbox, all other netui:checkboxes need to be disabled
              at run time and then enabled once the first check box is checked, below is the
              code I got thus far, can't get the diable/enable part to work for the netui tags.
              (Keep in mind that this works well with regular html checkbox tag and javascript)
              The following code wont generate javascript errors.
              It's not doing anything in terms of enabling/disabling the netui:checkboxes.
              <script language="javascript">
              function checkBoxDisable()
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled=true;
              function checkboxEnable()
              if (document[getNetuiTagName("updateForm")][getNetuiTagName("mon")].checked)
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled=false;
              else
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled="true";
              </script>
              <netui:form action="updateContact" tagId="updateForm">
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[0]}"
              tagId="mon" onClick="checkboxEnable()"/>Monday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[1]}"
              tagId="tue"/>Tuesday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[2]}"
              tagId="wed"/>Wednesday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[3]}"
              tagId="thu"/>Thursday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[4]}"
              tagId="fri"/>Friday
              </netui:form>
              Any help on this will be appreciated ..
              

              Hello Gang, not sure if anyone has run into this issue, but here it goes.
              I got a netui:form with netui:checkboxes that I need to have a specific type of
              functionality.
              The first netui:checkbox when checked calls a javascript function that enables
              the remaining netui:checkboxes so that the user can check them.
              Except the first netui:checkbox, all other netui:checkboxes need to be disabled
              at run time and then enabled once the first check box is checked, below is the
              code I got thus far, can't get the diable/enable part to work for the netui tags.
              (Keep in mind that this works well with regular html checkbox tag and javascript)
              The following code wont generate javascript errors.
              It's not doing anything in terms of enabling/disabling the netui:checkboxes.
              <script language="javascript">
              function checkBoxDisable()
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled=true;
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled=true;
              function checkboxEnable()
              if (document[getNetuiTagName("updateForm")][getNetuiTagName("mon")].checked)
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled=false;
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled=false;
              else
              document[getNetuiTagName("updateForm")][getNetuiTagName("tue")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("wed")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("thu")].disabled="true";
              document[getNetuiTagName("updateForm")][getNetuiTagName("fri")].disabled="true";
              </script>
              <netui:form action="updateContact" tagId="updateForm">
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[0]}"
              tagId="mon" onClick="checkboxEnable()"/>Monday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[1]}"
              tagId="tue"/>Tuesday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[2]}"
              tagId="wed"/>Wednesday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[3]}"
              tagId="thu"/>Thursday
              <netui:checkBox dataSource="{actionForm.accessDays}" defaultValue="{pageFlow.days[4]}"
              tagId="fri"/>Friday
              </netui:form>
              Any help on this will be appreciated ..
              

  • Using WEB Output HTML Gallery and uploading using ftp upload the HTML page views correctly but images only display the alt tag?

    Using WEB Output HTML Gallery and uploading using ftp upload the HTML page views correctly but images only display the alt tag in the browser window?

    After a little investigation, I discovered that PNGs also do not render correctly in IE7 in similar circumstances.
    I ended up using Levels in Photoshop to bring the output blacks up to "5", saved the images as PNGs, modified the HTML from .jpg to .png, and that seems to have covered up the problem well enough.
    By the way, I did confirm that IE8 beta 2 renders the images correctly.
    Brian

Maybe you are looking for