+1-415-670-9189
info@expertsmind.com
Writing function that creates a string of path to directory
Course:- Other Subject
Reference No.:- EM132281436




Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> Other Subject

Question: Given a folder with images in it, create an HTML page named index.html that contains links to each JPEG file in the directory as follows:

• Write a function that creates a string of the path to a directory

• Generatea thumbnail (half the size) copy of each image

• Use makeEmptyPicture to create a blank picture in the correct size, then scale down the original picture into the blank picture

• Name the new image "half-" + the original filename (e.g., if the original filename was fred.jpg, save the half-size image as half-fred.jpg). The anchor in the link to each full-size picture should be the half-size image.

Capture a screenshot of your code and output. Paste the screenshot into a Word document.

 




Put your comment
 
Minimize


Ask Question & Get Answers from Experts
Browse some more (Other Subject) Materials
Megan is a high school junior who has just become a cheerleader. She finds herself in a peer group that she hasn't experienced before. The kids she is around are more likely
How would you describe the impact of fiscal strain on one of the cities or nonprofit agencies you selected for the final project? How would the tax codes affect the fiscal s
Analyze in a short essay an existing community intervention program. The intervention program that you choose to critique can be any of the examples you read about, or progr
One of the central assumptions of the Jewish faith is Covenant. This covenant conditions the way that they understand their own history. In this light, look Deuteronomy 28:1
Which is least likely to be represented in a Byzantine mosaic? Which feature of Hagia Sophia was not part of the original design? The pagan god most often associated with Chri
Formulate public health childhood obesity crises intervention strategies. Formulate and apply a management structure for a population-based program. Design a program that inte
Smart Home Heating Control Panel design has been a success and you have been asked to write an article for an Interface Design magazine that describes how you designed and w
In which stage of the policy making process is your issue? Because the policy making process is cyclical, you may argue that your issue is in several different stages of pol