•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 401,951 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,344 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 7577 | Replies: 2
![]() |
| |
•
•
Join Date: Sep 2006
Posts: 162
Reputation:
Rep Power: 2
Solved Threads: 14
Hi, i have a page which is built from an asp script providing a thumbnail of an image from a database. I want to enlarge the image (when clicked on) in a new window and i can't work out how to do it using Javascript.
Any help would be much appreciated.
Also can you include two external CSS files in the same html page?
Any help would be much appreciated.
Also can you include two external CSS files in the same html page?
•
•
Join Date: Oct 2005
Location: Northampton UK
Posts: 1,142
Reputation:
Rep Power: 6
Solved Threads: 9
I don't know the answer to the first question. But in answer to your second question, yes you can include two css external files in one html doc. You can do this by either just including two in the html doc or you can include the second one using @import in the first css file. But remember if you use the same class in two css files the last on that is read is how the element displays. I hope this solves you second problem.
Well, ASP generates the HTML code as it's a server side script. Now what you could do is knock out the the url of image form that thumbnail image and open it in enlarge,pop up, new window etc... But you said your JS is not working.....so it would be nice if you could atleast post the code, cause it could be some problem with JS if you have already made.
And if you havn't made it yet, use HTML DOM, style properties&methods(using JS only) and you will get it.
If you didn't understood what I said you may post here.
And if you havn't made it yet, use HTML DOM, style properties&methods(using JS only) and you will get it.
If you didn't understood what I said you may post here.
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Generate Thumbnail images on the fly. (PHP)
- Open In New Window Php (PHP)
- HELP! With Javascripts Pop-Up Window (JavaScript / DHTML / AJAX)
- making an image look as if its behind a foggy window? (Graphics and Multimedia)
- newbie... Java load large picture :) Lit'l help plez (Java)
- Lost Thumbnail View Window 2000 Folders (Windows NT / 2000 / XP / 2003)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Checking for bugzilla
- Next Thread: Request for javascript based editor



Hybrid Mode