You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by fischman_98 <mf...@powerconsultantsinc.com> on 2006/10/13 02:50:48 UTC

datascroller - hidden input autoscroller moves to next line

I just set up MyFaces and Tomahawk to 1.1.5 Snapshot to deal with the issue
solved by  http://issues.apache.org/jira/browse/TOMAHAWK-644 TOMAHAWK-644 . 
Now, in IE (obviously), the html code generated from the datascroller is
adding an new line before a closing </td>...this is messing up the format
for the first scrollfirst img on the scrollbar....from my investigation, the
</td> needs to be on the same line to have all the images line up properly.

Any way to resolve this?  Is this considered a bug fix?

here is the html code that is generated....I bolded the culprit. (I don't
know how to display the img code only so it looks like the images are trying
to be included in the post - sorry)

<table id="_idJsp53:data" class="imageTable">
<thead>
<tr><th scope="colgroup" colspan="3" class="header"><table
class="scrollerTable"><tr><td> # 
/ngsimages/apps/ngsimages/images/arrow-first.gif  
<input type="hidden" name="autoScroll" />
</td><td> #  /ngsimages/apps/ngsimages/images/arrow-fr.gif  </td><td> # 
/ngsimages/apps/ngsimages/images/arrow-previous.gif  </td><td><table><tr><td
class="scollerActive"> # 1 </td><td> # 2 </td></tr></table></td><td><a
href="#" onclick="return
oamSubmitForm('_idJsp53','_idJsp53:data:_idJsp54next',null,[['_idJsp53:data:_idJsp54'
-- 
View this message in context: http://www.nabble.com/datascroller---hidden-input-autoscroller-moves-%3C-td%3E-to-next-line-tf2434305.html#a6788082
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: datascroller - hidden input autoscroller moves to next line

Posted by fischman_98 <mf...@powerconsultantsinc.com>.
After searching a little on the web, I found the following CSS solution...

add td img {display:block} in your CSS.

http://www.thescripts.com/forum/thread96754.html
http://www.thescripts.com/forum/thread96754.html 

MF


I just set up MyFaces and Tomahawk to 1.1.5 Snapshot to deal with the issue
solved by  http://issues.apache.org/jira/browse/TOMAHAWK-644 TOMAHAWK-644 . 
Now, in IE (obviously), the html code generated from the datascroller is
adding an new line before a closing </td>...this is messing up the format
for the first scrollfirst img on the scrollbar....from my investigation, the
</td> needs to be on the same line to have all the images line up properly.

Any way to resolve this?  Is this considered a bug fix?

here is the html code that is generated....I bolded the culprit. (I don't
know how to display the img code only so it looks like the images are trying
to be included in the post - sorry)

<table id="_idJsp53:data" class="imageTable">
<thead>
<tr><th scope="colgroup" colspan="3" class="header"><table
class="scrollerTable"><tr><td> # 
/ngsimages/apps/ngsimages/images/arrow-first.gif  
<input type="hidden" name="autoScroll" />
</td><td> #  /ngsimages/apps/ngsimages/images/arrow-fr.gif  </td><td> # 
/ngsimages/apps/ngsimages/images/arrow-previous.gif  </td><td><table><tr><td
class="scollerActive"> # 1 </td><td> # 2 </td></tr></table></td><td> # 

-- 
View this message in context: http://www.nabble.com/datascroller---hidden-input-autoscroller-moves-%3C-td%3E-to-next-line-tf2434305.html#a6798088
Sent from the MyFaces - Users mailing list archive at Nabble.com.