Change Master page of a site using ECMA Script in sharepoint 2010

Hi All,
I'm working on SharePoint 2010.
I have a requirement where in I need to create a site and apply a particular master page to the newly created site using
ECMA Script.
The site gets created but while applying the master page it gives me an error stating the method 'set_masterUrl' is not defined.
Here is my code:
$(document).ready(function () {
ExecuteOrDelayUntilScriptLoaded(createSite, "sp.js"); //This is used to ensure until sp.js is loaded, createSite will not be executed.
function createSite() {
var context = SP.ClientContext.get_current();
var collWeb = context.get_web().get_webs();
var webCreationInfo = new SP.WebCreationInformation();
webCreationInfo.set_title('TestSite');
webCreationInfo.set_description('Description of new Web site...');
webCreationInfo.set_language(1033);
webCreationInfo.set_webTemplate('STS#0');
webCreationInfo.set_url('TestSite');
webCreationInfo.set_useSamePermissionsAsParentSite(false);
var oNewWebsite = collWeb.add(webCreationInfo);
context.load(oNewWebsite);
context.executeQueryAsync(Onsuccess, onfail);
function Onsuccess() {
dummy(context, oNewWebsite);
function onfail(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
function dummy(context,oNewWebsite)
var strMasterPageUrl = '/_catalogs/masterpage/Test.master';
oNewWebsite.set_masterUrl(strMasterPageUrl);
oNewWebsite.set_customMasterUrl(strMasterPageUrl);
oNewWebsite.update();
context.executeQueryAsync(Onsuccess1, onfail1);
function Onsuccess1() {
alert("Done");
function onfail1(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
Please help.
Thanks,
Sachin

The issue is coming because the scope of context and oNewWebsite is not available in your success method. Try to modify the code as below and see if that helps.
$(document).ready(function () {
ExecuteOrDelayUntilScriptLoaded(createSite, "sp.js"); //This is used to ensure until sp.js is loaded, createSite will not be executed.
var context = null;
var oNewWebsite = null;
function createSite() {
context = SP.ClientContext.get_current();
var collWeb = context.get_web().get_webs();
var webCreationInfo = new SP.WebCreationInformation();
webCreationInfo.set_title('TestSite');
webCreationInfo.set_description('Description of new Web site...');
webCreationInfo.set_language(1033);
webCreationInfo.set_webTemplate('STS#0');
webCreationInfo.set_url('TestSite');
webCreationInfo.set_useSamePermissionsAsParentSite(false);
oNewWebsite = collWeb.add(webCreationInfo);
context.load(oNewWebsite);
context.executeQueryAsync(Onsuccess, onfail);
function Onsuccess() {
dummy(context, oNewWebsite);
function onfail(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
function dummy(context,oNewWebsite)
var strMasterPageUrl = '/_catalogs/masterpage/Test.master';
oNewWebsite.set_masterUrl(strMasterPageUrl);
oNewWebsite.set_customMasterUrl(strMasterPageUrl);
oNewWebsite.update();
context.executeQueryAsync(Onsuccess1, onfail1);
function Onsuccess1() {
alert("Done");
function onfail1(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
The other way is to use this.context and this.oNewWebsite. To see how you can modify your code have a look at the following link.
http://msdn.microsoft.com/en-us/library/office/jj163201%28v=office.15%29.aspx
Geetanjali Arora | My blogs |

Similar Messages

  • Change the Page title of Default.aspx in SharePoint Hosted App using ECMA Script

    Basically i want to change page title dynamically. the thing is default.aspx page is present in the below location
    Folders/Pages/Default.aspx ( Verified using
    SharePoint Manager 2013 Online )
    Could any one let me know how to iterate through the folders and then go to pages and change title of Default.aspx page?
    Navaneeth

    All the links which is mentioned above is either they are doing it in code behind or javascript like document.title.
    I want to change dynamically using ECMA script. the point i found here is if you use the below code you will get an error saying list "Pages" does not exists in the SharePoint site.
    clientContext.Web.Lists.GetByTitle("Pages");
    So i am wondering how can we change the page title of SharePoint hosted app ( Default.aspx) dynamically
    Say example i have one text box and submit button. when give the title in the text box and click on submit  the title should reflect in the page.
    Navaneeth

  • Change master page

    I'm using indesign CS3 with javascript.
    I have a document with 11 chapters, every chapter has the same Master-page.
    Every chapter has 1,2, ..pages, the master page for the content in the chapter is not the same as the chapter Master-page.
    Every content from a chapter has a different master page, than the content from an other chapter.
    this means that i have 12 master-pages
    example:
    Chapter 1:           master-page A
         content1:       master-pageB
    Chapter2:           master-page A
         content2:       master-page C
    Every title from the chapter and content will be placed into a running header with a specifiek paragraph style.
    At the moment i have a little javascript, this script checks on every page for the paragraph style from a chapter.
    and the "master-page A" will bee placed on the right page.
    how can i extend my script for  the content master-pages?
    Is it possible that i can retrieve the text from the running header from the chapters?
    greetz,
    kim

    You can update the master page programmatically based on the variables you have
    SPSite site new SPSite("http://Foo");
    SPWeb web=site.OpenWeb();
    rootWeb.CustomMasterUrl = rootWeb.ServerRelativeUrl + "/_catalogs/masterpage/blueband.master";
    rootWeb.update();
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/2401df2d-ed12-45c6-acd9-40163e7f8515/changing-master-page-programmatically
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Creating Master page for publishing site

    Hi,
    I am trying to create a master page for publishing site. I have downloaded the "StarterBranding - V1.3" from codeplex, and used the "Starter Publishing". Currently it is not showing logo, search box, top navigation, breadcrumbs.
    I have an existing master page which has lot of tags, and I am not sure what they represent. The below code is after the script manager tag in the body section:
    <SharePoint:AjaxDelta id="DeltaDelegateControls" runat="server">
    <SharePoint:DelegateControl ID="DelegateControl2" runat="server" ControlId="GlobalNavigation" />
    <SharePoint:DelegateControl ID="DelegateControl3" ControlId="GlobalSiteLink3" Scope="Farm" runat="server" Visible="false" />
    </SharePoint:AjaxDelta>
    <div id="TurnOnAccessibility" style="display:none" class="s4-notdlg noindex">
    <a id="linkTurnOnAcc" href="#" class="ms-accessible ms-acc-button" onclick="SetIsAccessibilityFeatureEnabled(true);UpdateAccessibilityUI();document.getElementById('linkTurnOffAcc').focus();return false;">
    <SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="<%$Resources:wss,master_turnonaccessibility%>" EncodeMethod="HtmlEncode"/></a>
    </div>
    <div id="TurnOffAccessibility" style="display:none" class="s4-notdlg noindex">
    <a id="linkTurnOffAcc" href="#" class="ms-accessible ms-acc-button" onclick="SetIsAccessibilityFeatureEnabled(false);UpdateAccessibilityUI();document.getElementById('linkTurnOnAcc').focus();return false;">
    <SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" text="<%$Resources:wss,master_turnoffaccessibility%>" EncodeMethod="HtmlEncode"/></a>
    </div>
    <div class="s4-notdlg s4-skipribbonshortcut noindex">
    <a id="A1" href="javascript:;" onclick="document.getElementById('startNavigation').focus();" class="ms-accessible ms-acc-button" accesskey="<%$Resources:wss,skipribbon_accesskey%>" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral3" runat="server" text="<%$Resources:wss,skipRibbonCommandsLink%>" EncodeMethod="HtmlEncode"/></a>
    </div>
    <div class="s4-notdlg noindex">
    <a id="A2" href="javascript:;" onclick="document.getElementById('mainContent').focus();" class="ms-accessible ms-acc-button" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral4" runat="server" text="<%$Resources:wss,mainContentLink%>" EncodeMethod="HtmlEncode"/></a>
    </div>
    <div id="TurnOffAnimation" style="display:none;" class="s4-notdlg noindex">
    <a id="linkTurnOffAnimation" href="#" class="ms-accessible ms-acc-button" onclick="ToggleAnimationStatus();return false;">
    <SharePoint:EncodedLiteral ID="EncodedLiteral5" runat="server" text="<%$Resources:wss,master_disableanimation%>" EncodeMethod="HtmlEncode"/></a>
    </div>
    <div id="TurnOnAnimation" style="display:none;" class="s4-notdlg noindex">
    <a id="linkTurnOnAnimation" href="#" class="ms-accessible ms-acc-button" onclick="ToggleAnimationStatus();return false;">
    <SharePoint:EncodedLiteral ID="EncodedLiteral6" runat="server" text="<%$Resources:wss,master_enableanimation%>" EncodeMethod="HtmlEncode"/></a>
    </div>
    <a id="HiddenAnchor" href="javascript:;" style="display:none;"></a>
    <div id="suiteBar" class="ms-dialogHidden noindex">
    <div id="suiteBarLeft">
    <div class="ms-table ms-fullWidth">
    <div class="ms-tableRow">
    <div class="ms-tableCell ms-verticalAlignMiddle">
    <SharePoint:DelegateControl id="ID_SuiteBarBrandingDelegate" ControlId="SuiteBarBrandingDelegate" runat="server"/>
    </div>
    <SharePoint:AjaxDelta runat="server" id="DeltaSuiteLinks" BlockElement="true" CssClass="ms-core-deltaSuiteLinks">
    <div id="suiteLinksBox">
    <SharePoint:DelegateControl id="ID_SuiteLinksDelegate" ControlId="SuiteLinksDelegate" runat="server" />
    </div>
    </SharePoint:AjaxDelta>
    </div>
    </div>
    </div>
    <div id="suiteBarRight">
    <SharePoint:AjaxDelta runat="server" id="DeltaSuiteBarRight" CssClass="ms-core-deltaSuiteBarRight" BlockElement="true">
    <div id="welcomeMenuBox">
    <wssuc:Welcome id="IdWelcome" runat="server" EnableViewState="false" />
    </div>
    Are the above tags required in Master page? what is the use of it? I have more tags and will add after knowing the use of it in future threads.
    Thanks

    Hi,
    According to your description, my understanding is that you want to know about the each tags useful in master page.
    In SharePoint 2013 master page, there are some common tags like body tag, head tag and meta tag and some style CSS div tags. For the useful of these tags, I suggest you can refer the articles below:
    Understanding HTML master pages in SharePoint 2013
    In your custom master page, it will have some custom css tags depend on the display style but it is no required for master pages, if you want to know about what tags is required in master page, you can compare the custom master page with the  OOTB master
    page.
    More information:
    Create a minimal master page in SharePoint 2013
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to set custom master page for social/sites.aspx in sharepoint 2013

    How to set custom master page for social/sites.aspx in sharepoint 2013.?
    File path is
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\SocialDataStore\SocialDataStoreList\sites.aspx
    Thanks in advance

    Hi,
    You could open the sites.aspx in Notepad or SharePoint designer, and set the master page to your own master page directly via editing:
    <%@ Page language="C#" MasterPageFile="~masterurl/custom.master"      Inherits="Microsoft.SharePoint.Portal.WebControls.FollowedContentWebPartPage,Microsoft.SharePoint.Portal,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c"
    %>
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Change Master Page based on Text Content

    Hello,
    I have found a few examples relating to changing Master pages based on Style.
    However, I would like to change all Pages that flag "True" with the query of the "2-1134" to to "Master-C" for example.
    I have 12 master Pages with different strings that I don't mind editing the script to make work.
    The document is close to 1,000 pages.
    I am having trouble merging so many different scripts into something that will work.
    Platform: Indesign CS4 6.0.5 - OS X (Intel)
    Thank you so much for your input, help and guidence.

    This is what layers are for. Open the Layers panel and make at least one more layer. Put the graphic on the lower layer and the footer on the upper layer.

  • Changing Master Page in Project server 2013

    hi,
    Can any one help me how to change the project server 2013 master page ?

    Hello,
    Yes i want to modify the master page for  Project Web Access . i want to change master page for
    all application page in pwa. i did this successfully  in Porject serevr 2010 by modifying V4.master page. i approached the same way
    in 2013 but could not succeed. 
    is there any way to accomplish this?
    thanks.

  • As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 also how we can insert,update,delete records in list using ECMA script.

    As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 step by step also how we can insert,update,delete records in list using ECMA script.
    Thanks and Regards, Rangnath Mali

    Hi,
    According to your post, my understanding is that you want to use JavaScript to work with SharePoint list.
    To create list items, we can create a ListItemCreationInformation object, set its properties, and pass it as parameter to the addItem(parameters) function
    of the List object.
    To set list item properties, we can use a column indexer to make an assignment, and call the update() function so that changes will take effect when you callexecuteQueryAsync(succeededCallback,
    failedCallback). 
    And to delete a list item, call the deleteObject() function on the object. 
    There is an MSDN article about the details steps of this topic, you can have a look at it.
    How to: Create, Update, and Delete List Items Using JavaScript
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Create document set using ECMA Script

    Hi,
    I want to create a document set in SharePoint 2010 document library where i have already included document set content type.
    Is there any way to create a document set using ECMA Script?? If yes, then please provide the sample code for this...
    Thanks.
    -Prashant

    Hi Prashant,
    Although this post is aimed at SP 2013 and the App model, it should give you the object model references you need to complete your goal:
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    In particular the following function should be of use:
    function CreateDocumentSet() {
    var ctx = new SP.ClientContext("http://yourSharePointSite");
    var parentFolder;
    var newDocSetName = $('#txtGetDocumentSetName').val();
    var docSetContentTypeID = "0x0120D520";
    var web = ctx.get_web();
    var list = web.get_lists().getByTitle('DocSetLibrary');
    ctx.load(list);
    parentFolder = list.get_rootFolder();
    ctx.load(parentFolder);
    var docsetContentType = web.get_contentTypes().getById(docSetContentTypeID);
    ctx.load(docsetContentType);
    ctx.executeQueryAsync(function () {
    var isCreated = SP.DocumentSet.DocumentSet.create(ctx, parentFolder, newDocSetName, docsetContentType.get_id());
    ctx.executeQueryAsync(SuccessHandler('Document Set creation successful'), FailureHandler("Document Set creation failed"));
    }, FailureHandler("Folder loading failed"));
    ctx.add_requestSucceeded(function () {
    $('#txtGetDocumentSetName').val('');
    alert('Request Succeeded');
    ctx.add_requestFailed(function (sender, args) {
    alert('Request failed: ' + args.get_message());
    // Failure Message Handler
    function FailureHandler(message) {
    return function (sender, args) {
    alert(message + ": " + args.get_message());
    // Success Message Handler
    function SuccessHandler(message) {
    return function () {
    alert(message);
    Keith Tuomi | Twitter: @itgroove_keith | Blog:
    http://yalla.itgroove.net
    Please click "Propose As Answer" if a post solves the problem or "Vote As Helpful" if a post has been useful to you.

  • VS2013 Page Inspector does not use external script files

    If I use an external javascript file, the Page Inspector does not appear to run the javascript (as the styles created during runtime are not visible). If I run the web page outside of VS (e.g. IE) then it works.
    <script type="text/javascript" src="border.js"></script>
    However, if I use an internal script, the styles are created as expected.
    <script type="text/javascript">$("div").css("border", "2px solid red").add("p").css("background", "yellow");</script>
    Is the Page Inspector supposed to use external script files, and if not, are there plans to support it?

    Hi,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because Page Inspector feature is more related to ASP.NET Application/Technology, in order to resolve your issue better,
    I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/  for better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to add a file in Document Set using ECMA script?

    Hi,
    I want to upload a particular file into Document set using ECMA script.
    I can do it easily through C# but unable to achieve the same using ECMA Script.
    Any pointers or piece of code will be helpful.
    Thanx in advance :)
    "The Only Way To Get Smarter Is By Playing A Smarter Opponent"

    The following blog post provides a way to create a document set using ECMA:
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    The following blog post provides a way to upload files into a document set using CSOM:
    http://www.c-sharpcorner.com/Blogs/12139/how-to-create-document-set-using-csom-in-sharepoint-2013.aspx
    See if you can follow the logic in the CSOM example to apply it to ECMA. Let me know if you have specific problems with it.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Custom tab missing from Create Site template selection section in SharePoint 2010

    Background:I migrated from SP 2007 to SP 2010.
    ISSUE: my custom templates are visible in the Gallery list but when i try to create a new site the Custom tab selection is missing.
    What am i doing wrong?

    Hi,
    For a tip to understand for Visual Upgrade refer here :
    Visual Upgrade
    By Custom Templates, I mean remove old Master Pages : Go To Site Settings --> Look And Feel --> Master Pages (click on Master Pages to open window with Master Pages and CSS Style). From this page select V4Maste.master and default CSS. Refer here for
    more on how to change :
    Master Page  
    You can very well get back all your custom settings, but first lets try to resolve your first issue.
    Cheers!

  • Error while creating folder named "bin" using explorer view in sharepoint 2010

    I am getting error when I create a folder in a library named "bin" using explorer view in sharepoint 2010.
    When I create folders with other names I don't get any errors.
     Please suggest.

    Hi,
    According to your description, my understanding is that you got an
    error when you create a folder named “bin” in a SharePoint library with explorer view.
    There are any Microsoft.NET Framework assemblies that have controls or parts that the SharePoint site uses, which are stored in the bin folder. You can remove “bin”  from hidden segments, then you can create a folder named “bin”
    in the SharePoint library with explorer view.
       1.Opened IIS Manager and selected Server name -> Request Filtering -> Hidden Segments tab -> Removed "bin" from there:
       2.Perform IISRESET:
    Thanks,
    Dean Wang

  • Editing the master page of My Site - Changes not visible to all users

    Hi!
    I opened the mysite.mydomain.com site on my SP designer and made some changes in a master page located in the Master Pages library. I checked in the changes and now I can see them when I open the site on my browser.
    But only when I use the account that made the changes using the designer.
    How can I propagate these changes to be visible to all my users?
    Publishing features in are enabled already.
    Thanks!
    Dimitris Papadimitriou, Software Development Professional

    No! Duh!
    I forgot about that part! Actually I don't see this option in the designer. I had to go to the browser to do it. Anyway, now it works! Thanks!
    Dimitris Papadimitriou, Software Development Professional

  • Website is now in centre of page, built new site using "cc" but with some problems

    Hello everyone I said I would come back with the new site, and just as well as I'm having one or two small problems, starting with!
    New Website, rollover buttons not holding colour in place when clicked
    And someone has told me that it is a great site, but the images in the box with the yellow frame dont show up unless I tilt the screen at an odd angle, I think he means the hero image! and is sounds
    like he is using a tablet
    I have built this new site using the tutorial by David Powers http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.htm l sent to me by by Hans-Günter
    I might have made one or two mistakes when building this site, I take my hat off to you Web Designers, this has taken me a week to build you could have dune it in about two hours lol
    Please can someone have a look, and help me out with the problems that need a fix 
    Thank you so much for your time
    This was the old website
    This is the new website
    The Website Address is  http://www.lawrenceg.com
    This is the code from the Index.html page
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Home Page</title>
    <link href="styles/main.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    body,td,th {
    color: #999999;
    </style>
    <!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.-->
    <script src="jQueryAssets/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script>
    var __adobewebfontsappname__="dreamweaver"
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    </script>
    <script src="http://use.edgefonts.net/source-sans-pro:n6,n2:default.js" type="text/javascript"></script>
    <!--[if lte IE 7]>
    <script type="text/javascript" src="js/html5shiv.js"></script>
    <![endif]-->
    </head>
    <body>
    <div id="wrapper">
      <header id="top">
        <h1><img src="images/contact_page-image_47.png" width="43" height="47" alt=""/> My Studio</h1>
        <nav id="mainnav">
          <ul>
            <li><a href="index.html" class="thispage">Home </a></li>
            <li><a href="About Me.html">About Me</a></li>
            <li><a href="Studio Work.html">Studio Work</a></li>
            <li><a href="The Gallery.html">The Gallery</a></li>
            <li><a href="Contact Us.html">Contact Us</a></li>
          </ul>
        </nav>
      </header>
      <div id="hero">
        <article>
          <h2> </h2>
          <h2> Welcome  to my Studio!</h2>
          <p>My name  is Lawrence; I'm a Photographer &amp; Photographic Artist</p>
          <p>        I have  kept this website simple and to the point with no unwanted useless stuff, we  have a full navigation system for your covenants at the top so you don't have  to keep coming back to the home page each time, check us out on  <a href="#" onClick="MM_openBrWindow('https://www.facebook.com/LawrencesPhotoStudio','Facebook','location=yes,scrollbars=yes,wid th=1200,height=600')">Facebook</a> <a href="#" onClick="MM_openBrWindow('https://twitter.com/Lawrencegtraing','Twitter','location=yes,scrollbars=yes,width=1200,hei ght=600')">Twitter</a> <a href="#" onClick="MM_openBrWindow('http://www.flickr.com/photos/lawrenceg/','Flickr','location=yes,scrollbars=yes,width=1200, height=600')">Flickr</a> </p>
        </article>
      <img src="home_page-image.jpg" alt="Home page image the the studio"/>  </div>
      <article id="main">
        <h2>This site works best in internet explorer!</h2>
        <p>You can still use google chrome and firefox if you wish, this website just looks slightly better when viewing in internet explorer.</p>
        <p>If you decide to purchase any of our  prints, framed prints or canvas! </p>
        <p>Everything  comes with 30 day money back guarantee, and is sold through our secure payment  site <a href="#" onClick="MM_openBrWindow('http://lawrence-graves.artistwebsites.com/','FineArtAmerica','location=yes,scrollbars=yes, width=1000,height=600')">Fine Art America! </a></p>
        <p>      So how  can we help you, are you looking for something a bit special to hang on your  wall, maybe you have a family gathering coming up a <a href="#" onClick="MM_openBrWindow('http://weddindimages.blogspot.co.uk/','','location=yes,scrollbars=yes,width=1000,height=80 0')">wedding or an important  celebration</a> like a new addition to the family?</p>
        <p>      Maybe  you're thinking about that <a href="#" onClick="MM_openBrWindow('http://childrensphotography2013.blogspot.co.uk/','portraits','location=yes,scrollbars=yes, width=1000,height=800')">special portrait of the children</a>, to capture a  moment in time can be priceless and don't forget about your baby's first  portrait</p>
        <p>      <a href="#" onClick="MM_openBrWindow('http://petsimages2013.blogspot.co.uk/','pets','location=yes,scrollbars=yes,width=1000,heig ht=800')">What  about our pets</a> after all they are part of the family too!</p>
        <p>      Sometimes  we need a photographer to capture a very special moment, but to capture  excellence you need a photographic artist that can produce the results you're  looking for</p>
        <h2>Working with Photoshop! </h2>
        <p>Sometimes your standard photographer in not right for some assignments, and you need professional services when it comes to image editing, check out these  examples below </p>
        <p>
          <aside class="floatleft"><a href="#"><img src="images/The_art_of_alteringan_image_SMALL.jpg" alt="working in photoshop" width="200" height="140" onClick="MM_openBrWindow('images/The_art_of_alteringan_image.jpg','photoshop1','location= yes,scrollbars=yes,width=1040,height=740')"/></a></aside>
        </p>
        <p>Side by side view, take a look at this image! this was photographed on a apartment rooftop on the Island of Kos in Greece, when the sun was high at around 14:00 on a very hot day. As you can see there are some things that need changing in the image on the left, we only made one or two small changes! to turn this drad looking image into a good looking photo!</p>
        <p> </p>
        <h2>Digital Backgrounds with cover up layer</h2>
        <p>How  about a new layered digital background for that special image that needs a full makeover!</p>
        <p>
      <aside class="floatleft"><a href="#"><img src="images/pets_small1.jpg" alt="Pet Photography" width="200" height="140" onClick="MM_openBrWindow('images/pets_large1.jpg','PetPhotography','location=yes,scrollba rs=yes,width=1060,height=720')"/></a><br>
      </aside>
        </p>
        <p>Check this one out! this one was made up from one of our pet photography photo shoots we did in 2011 for one of our clients, they wanted both dogs in the same portrait but some dogs just don't want to play. So we photographed then separately at the angle we wanted, so they would fit nicely into  the new digital background! </p>
        <p> </p>
        <p>These are just some of the adjustment and improvements we can do,  you can find more examples of our editing work inside the studio work page!</p>
        <p> </p>
        <p> </p>
      </article>
      <aside id="sidebar">
        <h2>Check out our Gallery!
        </h2>
        <p>You can view  some of our work in the gallery,  love Animals then check out some of our wildlife images black and whites, portraits, and pet photography</p>
        <h2>Free reviews and tutorials!</h2>
        <p>You can find some  camera, and lens reviews, plus Photoshop and photography tutorials on  Facebook and Twitter pages </p>
        <h2>Visit our shop! </h2>
        <p>      Love   Art then check out  <a href="#" onClick="MM_openBrWindow('http://lawrence-graves.artistwebsites.com/','','location=yes,scrollbars=yes,width=1000,hei ght=600')">Fine Art America</a></p>
        <p>Every purchase  includes a money-back guarantee!</p>
        <div class="floatleft" id="figcaption"><a href="#"><img src="images/What_you_looking_at_small.jpg" alt="Birds of prey" width="200" height="136" onClick="MM_openBrWindow('images/What_you_looking_at.jpg','BirdOfPrey','location=yes,scro llbars=yes,width=1060,height=730')"/></a></div>
        <p align="left">This is just one of  many images we have for sale, you can choose from prints,  framed print or a canvas we also sell metal print, acrylic print,  greeting cards iphone and galaxy phone cases too! </p>
        <h2 align="left">Photo restoration work!</h2>
        <p align="left">We also  do some digital photo restoration work; restore them old black and whites! Remove unwanted elements from your photos and more!</p>
        <h2>New digital background sets! </h2>
        <p>      Our  Digital Background Sets will come complete with a full cover up layer, set of frames and more  </p>
        <p>Each set will come complete with a  video tutorial showing you how to use these fabulous sets  with your own  images</p>
        <p>Sets due to be launched in 2014 </p>
        <p>Or if you  prefer you can simply send us your images and let us do the work for you </p>
        <p>We  only charge a small fee for this service!</p>
        <p> </p>
      </aside>
      <footer>
        <p>&copy; Copyright 2013 my studio at lawrenceg.com</p>
      </footer>
    </div>
    </body>
    </html>

    Lawrence g photos 2010 wrote:
    New Website, rollover buttons not holding colour in place when clicked
    On each of your pages you need to add the class="thispage" to your anchor tags.
    So the 'About Me' page link looks like below:
    <li><a href="About Me.html" class="thispage">About Me</a></li>
    'The Gallery' link on the 'Gallery' page looks like this:
    <li><a href="The Gallery.html" class="thispage">The Gallery</a></li>
    Do the same for the 'Studio Work' and 'Contact Us' pages.
    Lawrence g photos 2010 wrote:
    And someone has told me that it is a great site, but the images in the box with the yellow frame dont show up unless I tilt the screen at an odd angle, I think he means the hero image! and is sounds
    like he is using a tablet
    They are all quite a subtle grey tone but the one I cannot see is on the 'About Me' page. You just need to bring the grey tone up a few stops.

Maybe you are looking for

  • Debugging Adobe Bridge

    Hi I'm currently implementing a CMIS server as my bachelor thesis. I am using adobe drive 4 to connect the creative suite 6 with my cmis repository. This works pretty well, but I have one problem with adobe bridge, which I already described in this t

  • New account types in file_group_acct_names.csv and file_group_acct_codes.cs

    If you look at file_group_acct_codes.csv and file_group_acct_names.csv ( attached) that come with OBIEE, there are account types -- OTHER ASSET and OTHER LIABILITIES. My Finance team is questioning 1. Can we define our own account type as ASSET or we

  • How to import externel jar in webdypro dc project

    I know how to add externel jar in webdypro dc poject ,however when i choose build dc ,all of the externel jar disappeared. My problem happens while using the knowledge management .For i don't know where the jar is in the romote sap j2ee engine , i ha

  • CallOut when back button is used

    Hello, I have a problem, i open a callOut modal, until here everything is nice. But when the user type on back button (the back button of Android device) the application back's to other view (OK) but the callOut is on the screen. Any suggestions???

  • Disk I/O error randomly

    I've tried this:https://support.skype.com/en/faq/FA10143/why-do-i-get-a-disk-i-o-error-when-i-try-to-sign-in-to-skype-for-windows-desktop and all the suggestions in this:http://community.skype.com/t5/Windows-archive/Unable-to-sign-in-Disk-I-O-error-T