Lightbox for displaying html
I have a page with spry tabbed panels, in CS3, and I need to display inline HTML content (data tables) within the tabs, but am having trouble finding a lightbox type application that does more than images.
I've used Highslide in the past, but it seems to have a conflict with the spry code, & will not display in IE8 on Windows...
I need a fairly easy to implement solution, but am not sure what will work best.
There are some decent looking jquery plugins about, but I'm not familiar with implementing jquery..
I'd love any suggestions, so that we can get this site out.
Thanks!
-jon harris
Hi,
perhaps it would be better to start first with a ready-made solution. Later, when you see the mode of operation and how they work you could use a DW-flash-show, ok?
Just look around in and on these pages and don't get confused by the large range, look at the different sides in peace, it is worthwhile.
http://www.lokeshdhakar.com/projects/lightbox2/ (I use it)
http://www.shadowbox-js.com/ (I use it too)
Countless (57 possibilities) :-)
http://www.1stwebdesigner.com/resources/57-free-image-gallery-slideshow-and-lightbox-solut ions/
...and here some tutorials:
http://www.google.de/#q=dreamweaver+slideshow&hl=de&prmd=v&source=univ&tbs=vid:1&tbo=u&ei= 2FrqS-X0MoqMOOrv2OkK&sa=X&oi=video_result_group&ct=title&resnum=4&ved=0CDMQqwQwAw&fp=79a60 95848c03fc9
DW extensions: http://www.fourlevel.com/extensions.htm
Hans-G.
Similar Messages
-
The following image is not displaying in lightbox when I click on the thumb:
<a href="images/example.html"
But it does appear when I don't allow Active X.
Is there something i need to change for lightbox to accept html files?
Thanks!
Ken DAFAIK, Lokesh Dhakar's Lightbox scripts only work with web images (PNG, GIF, JPG).
For other modal window systems that DO support multiple file types -- including HTML, Media, Ajax and iframes, see links below.
FloatBox
http://floatboxjs.com/demo
HighSlide
http://highslide.com/
PrettyPhoto Lightbox Clone
http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
FancyBox
http://fancybox.net/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Display HTML in Web DynPro Java View
Hi,
I have a data in HTML code. It is a full HTML code with the body, head, html.... Now in my Web DynPro i have a section whereby it displayed the message that store in the database table. In that column store all the HTML code. So now in my Web DynPro im using a TextEdit to display the message. It will showed all the HTML code in the TextEdit.
For example
<html>
<head>
</head>
<body>
<p>Testing</p>
</body>
</html>
Is it possible in Web DynPro to display the HTML just like a webpage? As it will convert the HTML code to a readable format.
Thanks.Hi Adrian,
In case you have formatted text that you wish to be rendered on a Web Dynpro view (but not shown as is) then you should use the FormattedTextView UI element.
Follow these steps:
1. Insert a FormattedTextView element in your view.
2. To define the content of the FormattedTextView, select the text property of your FormattedTextView element and bind the text property to the context attribute which has your HTML content
When the application is run, the HTML will be shown as a web page.
Event onAction is triggered when the user clicks on a link (<a> tag) inside the FormattedTextView. The parameter contains the href attribute of the triggered link.
The TextEdit UI element will not serve your pupose. Hope this helps.
Best Regards,
Supriya -
How to display HTML response file in user's browser following submission of Livecycle form
I have a PDF form created via Livecycle that does a HTTP submit to the webserver. The server returns a HTML 'submission receipt' page which is either opened in Acrobat or the user's web browser.
Previously this process worked fine when submitting from adobe reader - the html receipt file would always automatically open OK in the user's browser. However, with newer versions of Reader (11.0.0+) I now get this error and no attempt to open the user's web browser:
An error occurred during the submit process. Cannot process content of type text/html
I realise why I get the error - Adobe reader can't display HTML files.
What I don't understand is why it doesn't open the html file in the user's browser like it has been doing for years.
Does anyone have any idea how I can fix this (without changing the response content type to PDF/FDF)?I had the same issue as you and we used FDF status, then eventually went with returning an XDP that filled out a receipt section of the form.
-
How to display HTML file from Unix server on UI at runtime
Hi Experts,
My requirement is to display HTML files, related to some particular person, on UI. The file is existing on a separate UNIX server and a file related to one person may have a lot of attached files as well , as is the case generally with HTML files, including pictures etc. So it is no use transferring file on my CRM system, as the files are kept separately on this UNIX server which is particularly for this kind of storage.
I am able to show files residing on MIME repository ( I created some new HTML files ) of my CRM system on UI. but I don't know how to go ahead with this particular requirement.
One idea is that I can map one folder of my application server to that unix server so that I can see the HTML files in this particular folder. but I don't know how to map MIME repository folder to application server directory or directly to the UNIX server .
Please advise. Is my approach correct or is there any other way ?
thanks in advance.
Regards,
VikasMaybe this is too simple, but have you got an HTTP server on the UNIX machine? You could simply link the URL into you CRM application and display the contents directly from UNIX.
cheers Carsten -
Display HTML stored in the database
Hi
CREATE TABLE source
(sql_text CLOB
The content of sql_text is text surrounded by various HTML-tags.
Which options do I have for displaying sql_text formatted according to the HTML-tags? In other words how can I get apex to send the content of sql_text to the browser with out escaping the tags?
MariusSince I haven't found a way to list a report (more than one row from the database), I ended up using a Display as Text (does not save state) and the following SQL as source
SELECT CONCATINATION(CURSOR(SELECT somecolumn FROM sometable ORDER BY order_key)) FROM DUAL;
CREATE OR REPLACE FUNCTION CONCATINATION(l_cursor IN SYS_REFCURSOR, seperator IN VARCHAR2 default '<BR>') RETURN clob
IS
string clob;
sub_string clob;
BEGIN
LOOP
FETCH l_cursor INTO sub_string;
EXIT WHEN l_cursor%notfound;
IF l_cursor%ROWCOUNT = 1 THEN
string := sub_string;
ELSE
string := string || seperator || sub_string;
END IF;
END LOOP;
RETURN string;
END;
Edited by: Marius2 on Mar 23, 2009 8:37 PM
Fixed a small bug -
Is it possible to display HTML text in some control in Applet. I do not want to use the swing class for that. please guide me. I am currently using the TextArea to display text which displays text only in a single color. But I want to display text in multicolor. How to do it. If possible please show me with an example.
You will have to write your own component. Look at java.awt.FontMetrics to get the size of a string. Use
g.setColor(Color.blue);
Graphics.drawString(myString,x,y);
to draw a blue string. -
Display HTML code in Crystal Reports
We have a field in the database in which the data is encoded HTML, it includes links to images. I have tried to use the RTF/HTML interpretation option for the field but it doesn't work. I saw on the other thread that there's limitation to displaying HTML - I am using Cyrstal Reports XI. So the crysal can't understand img tags correct? I am allowing users to do just about anything with HTML so it's hard to find a workaround if the we have to limit the tags. Would this issue be fixed in the future? Any piece of advice how to handle this would be great!
Thanks.Hi Pizzaz,
The HTML tags that are supported by Crystal Reports are:
" html
" body
" div (causes a paragraph break)
" tr (causes only a paragraph break; does not
preserve column structure of a table)
" span
" font
" p (causes a paragraph break)
" br (causes a paragraph break)
" h1 (causes a paragraph break, makes the font bold
& twice default size)
" h2 (causes a paragraph break, makes the font bold
& 1.5 times default size)
" h3 (causes a paragraph break, makes the font bold
& 9/8 default size)
" h4 (causes a paragraph break, makes the font bold)
" h5 (causes a paragraph break, makes the font bold
& 5/6 default size)
" h6 (causes a paragraph break, makes the font bold
& 5/8 default size)
" center
" big (increases font size by 2 points)
" small (decreases font size by 2 points if it's 8
points or larger)
" b
" i
" s
" strike
" u
And the supported HTML attributes are:
" align
" face
" size
" color
" style
" font-family
" font-size
" font-style
" font-weight
Hope this helps you!
Regards,
Anindita -
Creating a Javascript Preloader for my HTML sites... wont work..
Hey all,
I am creating a Javascript Preloader for my html site (www.rockspire.com), I have scripted all actions and have come away with a bar that does not load. Can someone please direct me as to where the error may be.
Thanks in advance!
Site: www.rockspire.com
Code:
<!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>Index</title>
<script type="text/javascript">
<!-- begin hiding
// You may modify the following:
var locationAfterPreload = "index2.html" // URL of the page after preload finishes
var lengthOfPreloadBar = 450 // Length of preload bar (in pixels)
var heightOfPreloadBar = 10 // Height of preload bar (in pixels)
// Put the URLs of images that you want to preload below (as many as you want)
var yourImages = new Array(
"images/lparch1.jpg",
"images/lparch2.jpg",
"images/lparch3.jpg",
"images/lparch4.jpg",
"images/lparch5.jpg",
"images/lparch6.jpg",
"images/lparch7.jpg",
"images/lparch8.jpg",
"images/lparch9.jpg",
"images/lpart1.jpg",
"images/lpart2.jpg",
"images/lpart3.jpg",
"images/lpart4.jpg",
"images/lpart5.jpg",
"images/lpart6.jpg",
"images/lpart7.jpg",
"images/lpbetty1.jpg",
"images/lpbetty2.jpg",
"images/lpbetty3.jpg",
"images/lpbetty4.jpg",
"images/lpbetty5.jpg",
"images/lpnature1.jpg",
"images/lpnature2.jpg",
"images/lpnature3.jpg",
"images/lpnature4.jpg",
"images/lpnature5.jpg",
"images/lpnature6.jpg",
"images/lpnature7.jpg",
"images/lpnature8.jpg",
"images/lpnature9.jpg",
"images/lpnature10.jpg",
"images/lpnature11.jpg",
"images/thumbnail_arch1.jpg",
"images/thumbnail_arch1bw.jpg",
"images/thumbnail_arch10.jpg",
"images/thumbnail_arch10bw.jpg",
"images/thumbnail_arch11.jpg",
"images/thumbnail_arch11bw.jpg",
"images/thumbnail_arch2.jpg",
"images/thumbnail_arch2bw.jpg",
"images/thumbnail_arch3.jpg",
"images/thumbnail_arch3bw.jpg",
"images/thumbnail_arch4.jpg",
"images/thumbnail_arch4bw.jpg",
"images/thumbnail_arch5.jpg",
"images/thumbnail_arch5bw.jpg",
"images/thumbnail_arch6.jpg",
"images/thumbnail_arch6bw.jpg",
"images/thumbnail_arch7.jpg",
"images/thumbnail_arch7bw.jpg",
"images/thumbnail_arch8.jpg",
"images/thumbnail_arch8bw.jpg",
"images/thumbnail_arch9.jpg",
"images/thumbnail_arch9bw.jpg",
"images/thumbnail_art1.jpg",
"images/thumbnail_art1bw.jpg",
"images/thumbnail_art2.jpg",
"images/thumbnail_art2bw.jpg",
"images/thumbnail_art3.jpg",
"images/thumbnail_art3bw.jpg",
"images/thumbnail_art4.jpg",
"images/thumbnail_art4bw.jpg",
"images/thumbnail_art5.jpg",
"images/thumbnail_art5bw.jpg",
"images/thumbnail_art6.jpg",
"images/thumbnail_art6bw.jpg",
"images/thumbnail_art7.jpg",
"images/thumbnail_art7bw.jpg",
"images/thumbnail_b1.jpg",
"images/thumbnail_b1bw.jpg",
"images/thumbnail_b2.jpg",
"images/thumbnail_b2bw.jpg",
"images/thumbnail_b3.jpg",
"images/thumbnail_b3bw.jpg",
"images/thumbnail_b4.jpg",
"images/thumbnail_b4bw.jpg",
"images/thumbnail_b5.jpg",
"images/thumbnail_b5bw.jpg",
"images/thumbnail_nat1.jpg",
"images/thumbnail_nat1bw.jpg",
"images/thumbnail_nat2.jpg",
"images/thumbnail_nat2bw.jpg",
"images/thumbnail_nat3.jpg",
"images/thumbnail_nat3bw.jpg",
"images/thumbnail_nat4.jpg",
"images/thumbnail_nat4bw.jpg",
"images/thumbnail_nat5.jpg",
"images/thumbnail_nat5bw.jpg",
"images/thumbnail_nat6.jpg",
"images/thumbnail_nat6bw.jpg",
"images/thumbnail_nat7.jpg",
"images/thumbnail_nat7bw.jpg",
"images/thumbnail_nat8.jpg",
"images/thumbnail_nat8bw.jpg",
"images/thumbnail_nat9.jpg",
"images/thumbnail_nat9bw.jpg",
"images/thumbnail_nat10.jpg",
"images/thumbnail_nat10bw.jpg",
"images/thumbnail_nat11.jpg",
"images/thumbnail_nat11bw.jpg",
"images/index_01.jpg",
"images/index_02.jpg",
"images/index_04.jpg",
"images/index_05.jpg",
"images/index_06.jpg",
"images/index_13.jpg",
"images/index_14.jpg",
"images/overview.pdf",
"images/Rockspire_Site_Map.pdf",
"images/Rockspire_slideshow.flv",
"images/main_concept_image.jpg",
"images/main_contact_image.jpg",
"images/main_events_image.jpg",
"images/main_inspiration_image.jpg",
"images/main_manifesto_image.jpg",
"images/main_photos_image.jpg",
"images/main_resources_image.jpg"
// Do not modify anything beyond this point!
if (document.images) {
var dots = new Array()
dots[0] = new Image(1,1)
dots[0].src = "images/black.gif" // default preloadbar color (note: You can substitute it with your image, but it has to be 1x1 size)
dots[1] = new Image(1,1)
dots[1].src = "images/red.gif" // color of bar as preloading progresses (same note as above)
var preImages = new Array(),coverage = Math.floor(lengthOfPreloadBar/yourImages.length),currCount = 0
var loaded = new Array(),i,covered,timerID
var leftOverWidth = lengthOfPreloadBar%coverage
function loadImages() {
for (i = 0; i < yourImages.length; i++) {
preImages = new Image()
preImages.src = yourImages
for (i = 0; i < preImages.length; i++) {
loaded = false
checkLoad()
function checkLoad() {
if (currCount == preImages.length) {
location.replace(locationAfterPreload)
return
for (i = 0; i <= preImages.length; i++) {
if (loaded == false && preImages.complete) {
loaded = true
eval("document.img" + currCount + ".src=dots[1].src")
currCount++
timerID = setTimeout("checkLoad()",10)
// end hiding -->
</script>
<style type="text/css">
<!--
body p {
color: #333;
-->
</style>
</head>
<body>
<div align="center">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>
<script type="text/javascript">
<!-- begin hiding
if (document.images) {
var preloadBar = ''
for (i = 0; i < yourImages.length-1; i++) {
preloadBar += '<img src="' + dots[0].src + '" width="' + coverage + '" height="' + heightOfPreloadBar + '" name="img' + i + '" align="absmiddle">'
preloadBar += '<img src="' + dots[0].src + '" width="' + (leftOverWidth+coverage) + '" height="' + heightOfPreloadBar + '" name="img' + (yourImages.length-1) + '" align="absmiddle">'
document.write(preloadBar)
loadImages()
// end hiding -->
</script>
</p>
<p><font size="2" face="Helvetica Neue">Welcome to Rockspire...</font></p>
</div>
</body>
</html>
Cheers!I see an pdf and flv file in the image list, remove them.
Rewrite the code of your loading bar into one solid procedure which can be called from image loaded so you end up with three functions:
loadImage
imageLoaded
displayProgressBar
Maybe it's simpler not to display a progressbar but to display a text like XX loaded from XX images.
I can't possibly write all the code for you but to adjust the loading bar use the image object instead of html code....
preloadingImg = new Image();
preloadingImg.src = "img/dot.jpg" //whatever your preloader img is
//To place your loading bar somewhere in the document:
parentElement.addChildNode(preloadingImg); //where parentElement is the container of the preloader image ( a DIV tag or whatever)
//to adjust the width and height
preloadingImg.height = someHeight + 'px';
preloadingImg.width = someWidth + 'px'
Another alternative is indeed use jQuery. -
Display HTML Tags on web browser
My problem is display Html code in web browser.
i try TextArea.htmlText, Label.htmlText... but they don't
work...
i'm searching in google.com and i know Html Component can do
that, but it not well because i don't have money for that.
Some body help me for my problem.
Thanks so much. !
nice day every body.The htmlText property should work however only a few basic
html tags are supported as far as I know. -
Displaying HTML character entities in JEditorPane
Hi,
I have noticed that when displaying HTML character entity references in a JEditorPane it will show some of them, e.g. © for copyright symbol but not others e.g. ’ for "curly" single quote.
Is there any way to get JEditorPane to show all (most?) of them?Create a class that extends ComboBox and override the
updateDisplayList and measureText functions. Then use that new
ComboBox in your code:
<local:HtmlComboBox .. xmlns:local="components.*".>
<local:itemRenderer>
<mx:Component>
<mx:Text htmlText="{data.label}" />
</mx:Component>
</local:itemRenderer>
</local:HtmlComboBox>
Put this into a folder called "components" and name the file
HtmlComboBox.as
package components
import mx.controls.ComboBox;
import flash.text.TextLineMetrics;
public class HtmlComboBox extends ComboBox
public function HtmlComboBox()
super();
override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
super.updateDisplayList(unscaledWidth,unscaledHeight);
var s:String = textInput.text;
textInput.htmlText = s;
override public function
measureText(text:String):TextLineMetrics
return measureHTMLText(text);
} -
I have iMac G5. Need VGA adaptor for display port.
I have an old iMac Power Mac G5 8.2. I need a VGA adapter for display port so we can use it in our TV studio in my elementary school. What kind do I need to get?
Mini-DVI and mini-display don't fit.2nd Display Support:
Mirroring Only*
2nd Max. Resolution:
1024x768*
Details:
Apple reports that this system has a "VGA output port for video mirroring on an external display or projector", and supports output resolutions of "640 x 480 pixels at 60Hz, 800 x 600 pixels at 75Hz and 1024 x 768 pixels at 75Hz". However, the hardware is capable of using an external display in dual or "extended desktop mode", Apple just blocked the capability in firmware to protect sales of more expensive Macs. Unsupported third-party hacks are available.
http://www.everymac.com/systems/apple/imac/specs/imac_g5_2.0_20.html
The port is actually Mini-VGA...
http://www.amazon.com/s/?ie=UTF8&keywords=apple+mini+vga+to+vga&tag=googhydr-20& index=aps&hvadid=7263599887&hvpos=1t1&hvexid=&hvnetw=g&hvrand=157245001668280529 38&hvpone=&hvptwo=&hvqmt=b&hvdev=c&ref=pd_sl_3j1o7iu5si_b -
Can anyone say what makes "preparing video for display" take more time?
i searched old threads. the topic has been raised before but there didn't seem to be any satisfying answer... i have noticed that when i have 3 or more active video tracks and i move a shot on the timeline, i get the "preparing video for display" message. it takes about 20 second to display, which is a long time to wait for every little adjustment i try to make... and i'm not using more than 5 tracks (which doesn't seem like that much either...)
i am using FCP 5.0.4. my whole project is 5mb and the sequence is 4 minutes long. got some effects but nothing major at this point. i'm worried it'll get much worse as i add effects and layers.
does anyone know what may be causing this or how can i make this process faster?
is it something that can be adjusted in the settings?
it doesn't seem normal. i've never seen anything like this in AVID...
thanks...I'm at a loss at this point.
2 things...exactly what version of QT are you running? (may/may not make a difference)
Then, here are a couple of links for ways to trash preferences. Since you're on FCP 5.0.4, you should be good with the Anders Holck FCP Rescue 5.
Caveat...once you've trashed your preferences you'll need to reset them...might want to make notes of how they're set now.
If you use FCP Rescue 5, it will enable you to create a backup of your new prefs after they've been reset, then if you ever need to trash prefs again, you simply use the 'Restore' feature to get them back the way you want them quickly.
http://fcprescue.andersholck.com/
http://www.digitalrebellion.com/pref_man.htm
http://www.fcpbook.com/Misc1.html
Hope that helps,
K -
Pre cant display HTML in email?
We are working with a client that is emailing out documents in HTML format. We can open emails with HTML in the body but no the attachments. We can download the file but we just get a "?". If you close the email and open again, you can click on the download file and the browser opens but no content can be displayed.
Is this a bug or another attachment type not supported?@espana2004:
I was able to test this myself, and this does not appear to be a bug specifically. Once the html file was saved (I used google.com, very generic), I tapped on the attachment, the web browser opened, and a message appeared at the bottom saying "Cannot display local files."
What this tells me is that webOS does not support rendering of saved html files. Per our support article http://kb.palm.com/wps/portal/kb/common/article/49685_en.html the only supported file types for downloads are:
Pictures: JPG, GIF, BMP, PNG
Videos: MPEG4, H.263, H.264, MP4, M4V, 3GP, 3GPP, 3G2, 3GP2
Music: MP3, AC, AAC+, WAV, AMR, QCLEP
Documents: DOC, TXT, XLS, PPT, DOCX, XLSX, PPTX, PDF
Support for local html file viewing may be possible in a future update, I would recommend requesting this at www.palm.com/feedback
Hope this helps,
TreoAide -
How to make Manufacturer Information Available For Display in SC
Hello,
We would like to make the Manufacturer Part Number and External Manufacturer available for display in the shoppng cart. Also, UNSPSC for that matter. I know these are in the shopping cart as loaded from the external catalog but have not found anywhere in the HTML templates where they could be made available by uncommenting, like we did for Unloading Point. Are there provisions in the shopping cart to show this information?
If not, how would you accomplish this?
Thanks in advance for any assistance.Hi
We have done similar requirements in our past previous SRM implementations.
<u>It's not possible to enable the required fields - Manufacturer part number, External Mnaufacturer, UNSPSC, etc as these are not avaibale on the Standard HTML Templates of the Internet Service - BBPSC01 (using SE80 transaction).
You need to go for adding customer fields to the Shopping cart Item level in this case.</u>
Refer the following OSS notes which guides you how to create customer fields on the shopping cart ->
<b>Note 458591 - User-defined fields: Preparation and use
Note 672960 - User-defined fields 2</b>
Refer the following forum links, which will definitely help ->
<b>Custom UI fields on shoping cart
Add custom field in SC -Item Level
Customer field integration
Derive GL code based on UNSPSC from catalog
Custom fields not display in SRM5.5 Basic Data Frame
BBPSC04 Custom Fields Addition Not working
How to chage the display name in SC browser for the custome fields?
<u>You can use several BADIs to map the data from Shopping cart to the Back end documents (Purchase Order, Purchase Req, Requistions, etc) using these Business Add-Ins.</u>
<b>Refer to the BADIs using transaction - SE18.</b>
BBP_DOC_CHANGE_BADI
BBP_DOC_CHECK_BADI
BBP_CREATE_PO_BACK
BBP_CREATE_REQ_BACK
Note -> Please read the relevant Standard BADI definition documentation, before doing any coding for the custom BADI Implementations.
Do let me know, incase you face any issues.
Regards
- Atul
Maybe you are looking for
-
Hosting itunes lib on Vista box, sharing between 2 Mac laptops?
Afternoon My partner and I both have Mac laptops as our primary computers - an MB and a PB. We'd like to share the same itunes library without having to leave one of the laptops on all the time, because one or either of them is regularly out of the h
-
SQL clustered instance outgoing traffic
Hi, I have an interesting issue I'm trying to solve. Hopefully I'm missing something really simple. Here's a description of our environment, and the issue I'm having. 2 node SQL 2008 R2 SP2 clustered named instance. There are a total of 4 instance na
-
helpp
-
Help for "WITH INCLUDES" in scan abap-source.....
Hiiii, Can anyone help me how to use "with includes" in "scan abap-source" for seperating includes in the program????? If anyone has sample code plz do send it for help.... Thanx, Mandeep.
-
OC4J as a service getting stopped
Hi, We made OC4J as a service but the service is getting stopped for every 2 days. Where can I check the log for this... What are the changes I need to make to keep it running continously.. Thanks