Gallery files included on a page without gallery images/thumbnails
Hi,
I included the .js files for the gallery on a page without
gallery images/thumbnails.
The effect is, that the first image with a link on that page
gets a yellow border (as normally the first thumbnail does).
To correct the problem, I changed the code in line 44 of
SpryThumbViewer.js:
from
this.tnImageSelector = "a[href] > img";
to
this.tnImageSelector = "div.thumbnail a[href] > img";
(of course, you have to put a <div
class="thumbnail">...</div> around an image on real
gallery pages, so that they work there)
Do you see any problems with the changed code? Could it be
changed in the official release?
Greetings,
Sven
Live View, Code View or Design View?
Have you validated your code to check for errors?
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
You could comment out your links to external scripts and CSS Files.
<!--this is an html comment
-->
To turn off styles in Design View only, go to View > Style Rendering > untick Display Styles. Or consider using a Design-Time Style Sheet.
Dreamweaver Help | Use Design-Time style sheets
To speed things up a bit, try these tips:
1. Edit -> Preferences -> Code Hints -> Disable description tooltips
2. Edit -> Preferences -> Highlighting -> Untick both Live Data Untranslated and Translated
3. Edit -> Preferences -> Sync Settings -> Untick all in sync settings
Nancy O.
Similar Messages
-
Stop Dreamweaver loading scripts/CSS files included in a page
Dreamweaver CC 2014.1 (Mac OS X 10.10, Yosemite) has a big BUG... isn't possibile build with it large/complex websites.
If I have a website with large numbers of css files (or scripts), Dreamweaver takes too much time to load/save a page that included them (the wheel turns indefinitely).
Is it possible to stop Dreamweaver from loading scripts and CSS files included in a page while I'm working on it (even temporarily)?
I know that without this function (load external files) Dreamweaver is absolutely useless, but at the moment I haven't still found another IDE tool and I need to work with speed.
ThanksLive View, Code View or Design View?
Have you validated your code to check for errors?
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
You could comment out your links to external scripts and CSS Files.
<!--this is an html comment
-->
To turn off styles in Design View only, go to View > Style Rendering > untick Display Styles. Or consider using a Design-Time Style Sheet.
Dreamweaver Help | Use Design-Time style sheets
To speed things up a bit, try these tips:
1. Edit -> Preferences -> Code Hints -> Disable description tooltips
2. Edit -> Preferences -> Highlighting -> Untick both Live Data Untranslated and Translated
3. Edit -> Preferences -> Sync Settings -> Untick all in sync settings
Nancy O. -
Download a file on a separate page without linking it with the current session
Hi,
Here is my problem:
In a JSP, the client chooses a link referring to a document which is contained in a blob on the database. This JSP calls a servlet which retrieves the PDF from the blob. I can send this PDF on a separate page if the <a href> on the JSP specifies TARGET=BLANK. But if the client closes the new window, the server doesn't recognizes the session that was going on on the JSP anymore. It looks like the response sent with the PDF takes the pole of the session and the first pending page (the JSP) is not associated anymore with the session.
There must be a way to send a second page without associating it with the current session.
Another way to solve my problem would be to send the PDF as part of a regular html page. I know this can be done, but I don't know how to do it.
Any suggestion?
Thanks
Jean Vaillancourt, MontrealWhen opening the new window use child instead of blank. That should keep the session intact in the old window.
-
Hi. I’ve set up a web form that uses html and javascript. This particular form lets you upload files. I also have another page that lets you play videos. I was wondering if anyone knows how to make the inner html of for example the upload file form field equal the file that is played by the video player on the other page.
Basically on youtube when you upload a video it automatically makes another page with the video file you uploaded assigned to the video player on that page. I want to know how to go about doing that. So people can upload videos and then be able to watch them instantly without me manually having to create the page an assigning the right file to the page.
Even just knowing how to create a different page each time the form is submitted would be helpful. Thanks.This is more complex than you realize and JavaScript alone can't do it. You'll need a server-side script like PHP to authenticate and sanitize file uploads to prevent malicious scripts or malware from ever getting to your server. Then, your script will have to process the uploaded file by saving it to a folder or database, give it a unique ID and then redirect users to a new page that pulls the file into an HTML5 or similar player. How good are you with server-side programming?
Nancy O. -
How to include a .class file in a jsp page
hi everyone,
i know the syntax as:
<%@ include file = "filename.class" %>
then at run time the server could not find the class file
if i use,
<%@ page import = "FileName.class" %>
then also the same problem persists
& if i use
<jsp:include page = "Relative address"/>
the problem still remains as it is...
please help me out...i am working on developing an EJB application in which client interacts with server's Stateful session bean through a jsp page...it is necessary for me to include the home interface class file in my jsp page.
P.S. do not suggest me to include the class file in a package & then use
<%@ page import = "packageName.ClassFileName" %>
i
Edited by: Ankit_JIITU on 6 Jul, 2008 1:55 AMAnkit_JIITU wrote:
i have already included the remote interface class file by <%@ page import = "University.RemoteInterfaceName" %>in my jsp page ...
if i try to make a new package called test & then include my home interface in that package...i need to import University.*to generate the class file of my home interface ; but the class file generation is not taking place as i am getting the error..
"package University does not exist".How can i overcome this problem. The package University, which you are trying to import, must be in the classpath. If you removed it then you will have to add it back.
i have tried my best..but tell me if there's any possible way of including a class file in the jsp page without involving a package.No, there isn't.
If not,then pls help me to generate the class file of my home interface within a package called test.Read the New To Java Tutorial and understand how packages work.
>
i am assuming that u have a deep knowledge of developing EJB applications. -
How can I upload an audio file and link a page on my webiste to it?
I host a radio show weekly, have recorded broadcasts in MP3, want to host them on itunes and have a link from my website for visitors to listen to. Can anyone help me? Thanks
Could I ask you to read my 'get you started' page on podcasting, which should answer most of your questions.
http://rfwilmut.net/pc
If you still have questions do please come back.
As to your website, which is a separate matter from iTunes, you can provide embedded players - these pages gives you some information:
How to embed an MP3 audio file into a web page without bringing up dialog boxes in Windows
How to create a pop-up MP3 player -
How create an exe-file including Flash-Player?
Hi,
I'm a beginner in Captivate and I have to develop an
elearning course about our software tools. It has to be distributed
to clients by a server. But the user don'T have internet access and
admin rights to install the flash player!
Is there any solution to create an exe-file including the
flash player without installing on each client?
For any help, I will be very happy!
Thank's
nadineHi Nadine
As I understand it, Flash Player is included when you create
.EXE output from Captivate. However, if your end users have PCs
that are too restricted, when they attempt to run your .EXE file,
they cannot view the content because the .EXE temporarily installs
a player and it can't because the PC is too restricted.
Are you certain that your users don't already have Flash
player installed? Have you tested and you know for sure that you
can't simply upload a .SWF/.HTM to the server and have them view
it?
Cheers... Rick -
conclusion from godaddy:
Search engines are not pulling up your other pages on your website because it is created with javascript.
the content on the pages, (photo gallery, My Recipes/Blog, History, Friends) need to be formatted to HTML, PHP or CSS. No search engines (google, Yahoo, Bing) can crawl//analyze webpages built with javascript.
See if Apple allows iweb to create the pages in HTML format and ask how to make those changes.
I spend more then 1 hour on the phone with them but we didn't find the solution...
please i need help because like this nobody can rich my website...
www.chefdiego.com
thank youThe part of iWeb pages that give the search engines problem is the navbar. That's javascript based. One way to get around that is to create another blank page in the site that's not included in the navbar.
Add a text based navbar in that page with just the other pages in the site.
Also you can use that page for creating the sitemap for Google at Create your Google Sitemap Online - XML Sitemaps Generator.
Have you let Google know your site exists? This website describes how to get it recognized: Get your iWeb website found in search engines like Google Yahoo MSN and Bing.
OT -
Including an email address on a web page without it being harvested for spam
As per the title really - anyone know of a method of including an email address on a web page without it being picked up by spam bots?
Usually if i want to avoid that, I just do a little form with a honey trap, but I'm working on a page that needs contact details for around 100 places, so doing 100 odd forms for a single page might be a little impractical.... Thanks.As per the title really - anyone know of a method of including an email address on a web page without it being picked up by spam bots?
Impossible.
Usually if i want to avoid that, I just do a little form with a honey trap, but I'm working on a page that needs contact details for around 100 places, so doing 100 odd forms for a single page might be a little impractical....
Run it inside a script that parses an XML file based on the link's ID - one script, many links, no directly visible mail addresses (though, of course bots can still parse the XML file itself, if not in a hidden directory or something liek that).
Mylenium -
I can't get Pages 5.01 to open Pages files from iCloud, although they open in iCloud Pages without difficulty.
I am using the most up to date version of Mavericks and Pages and can log into iCloud without any problems. Is this just a glitch? The files all behaved properly under previous versions and the initial release of the new version of Pages.Pages for iCloud beta is a weird beast and as it says "beta".
I think it is the least compatible of all the many different .pages files floating around out there.
Peter -
I have a Windows 7 laptop using I tunes 64 and all my music files are
on an external disc. I rarely use I tunes and at one point moved all my files
(including the music files) from one external disc to another without
considering what affect this would have on the I tunes library. When I eventually
attempted to use I tunes, every selected a song from the library resulted in a
message stating that the file couldn't be located. After following some of the procedures
explained in this community I was able to reconnect the library back to where
the associated music files are presently stored. However, there are still 2
problems that need to be corrected. 1) Every song file now has a duplicate. One
file works and the other file will result in the same message stating that the
file couldn't be located. Before there were 4,000 songs in the library, now
there are 8,000 songs. I need to eliminate the 4,000 dead song files. 2) All
the playlists are still associated with the dead song files which makes the
playlists unusable. Can the playlists be reconnected to the usable files
without manually having to recreate them? Thanks in advance for the help.
sdkrSo am I understanding correctly?
You used your iPod as a hard drive (drag and drop) instead of having iTunes install the music?
If you used drag and drop your choices are different than if you used iTunes to transfer.
Good luck! -
How to include a JSP page contained in a JAR file ?
Hello,
I have a Servlet in which I would like to include, in the Response, the content of a JSP page contained in an external JAR file included in my lib directory ?
Could someone help me please ?
Thanks in advance.
bgOnlineI don't think thats possible with the standard j2ee server.
There are probably ways around it, but it would involve a large component of custom coding. -
Multiple Galleria Photo Galleries on same page
I'm trying to use multiple BC Photo Galleries and Galleria to display a project gallery of images on the same page. Also, I'm a beginer at using Javascript and JQuery, so this might be a fairly simple deal, but my lack of experience is probably getting in the way.
There are multiple sections to this project gallery; landscaping, hardscapes, night lighting, pools, etc. I'd like the user to be able to click on one of the gallery sections and the Photo Gallery switches out to the new selected gallery, so that only one gallery is showing at time, but they stay on the same html page.
I need help with the following:
1. When you first visit the page, I only want the first gallery to show up. Then switch out with the others when you click on the other sections. Is this possible with Galleria, because of the way it computes the measurements of the stage within 5 sec?
2. Not sure how to fix this error: "Init failed: Gallery instance already initialized". I know this is happening because I'm running the init function for each project gallery. Is there a better way to do this?
This is the page where you can see it:
http://greenmeadows.carmediadesign.com/project-gallery.htm
Thanks for any assistance you can give!Hi
Try using something like this http://jqueryui.com/tabs/ to place each separate gallery in its own div
As for the error, where exactly are you getting that?
Kind Regards,
Alex -
Reports included in the page keep looping without retrieving any results
We are facing an issue related to the behaviour of Siebel Analytics when more than 1 answer are included in a dashboard page. When a report is generated, the other reports included in the page keep looping without retrieving any results, but if I manually click on 'cancel' link, the reports successfully appear with consistent data. This behaviour is not stable since sometimes the page works fine, sometimes not, but it's not clear what it depends on. Can anybody please let me know if this behaviour is a known bug.
Hi Deb,
Could you please explain me in more detail?
The problem is we are able to see the old reports that we were already moved into Q environment. The newly moved 5 reports are giving this error message.
Please help
Thanks
Sri -
Now that Apple no longer supports AppleWorks, how can I change a lot of AppleWorks files to Pages, without doing them one at at time?
Maybe these?
https://discussions.apple.com/thread/3162022?start=0&tstart=0
http://macscripter.net/viewtopic.php?id=19987
But why if you're running 10.6 do you need to do this? AW works fine in 10.6 with Rosetta.
(BTW, you're in the older iMac PPC forum.)
Maybe you are looking for
-
I paid for and downloaded a song, but it won't play saying the file could not be found. It says this even when I click on the song IN the itunes store, so I can't even listen to the sample now?? I haven't kept records of the songs I have paid for, an
-
Why can't I get a song to load from itunes, or Amazon to the slide show?
I have created 3 slide shows in Photoshop Elements 11. No problem until I tried to add audio. First slide show used song from itunes, no problem, 2nd slide show complete try to add new song I downloaded from itunes JUST for this slide show. Error
-
Want to install SSD and make it the main drive
Hello, I just purchased my Lenovo IdeaCenter H530 Desktop and straight away installed a GT640 video card. Everything seems good and I'm waiting to install a SSD. I would like to run windows 8.1 from the SSD as the primary drive, and use the 1TB H
-
No Error when Statistical WBS is closed
Hi, I had created Statistical WBS elements and assigned this to Maintenance orders, System allows me to close the WBS element even when the Orders are open and also allows me to assign & issue materials without checking the budget ( as the WBS is alr
-
How to I move gif with transparent background to jpg background?
I am using the Master Squite CS 5.5 trail on Windows XP Pro with SP3. I am not a Photoshop expert, but have done a fair amount for work with iit. I am trying to build some headers for websites and I know how to combine JPG images and text to ceate a