I have to brand a Sharepoint2010 portal. There are 2 buttons on the top ("I like it" and "Tags") which have to be replaced with custom HTML and images. Images src is hardcoded in tags (instead of CSS).
My approach is to rewrite inner HTML using jQuery. Could you suggest a better way?
EDIT: Ok, seems like there are no other ways. If you wanna styling social buttons, get jQuery and use it :)
I think re writing the innerHTML of the ms-socialNotif-Container div is the best solution here.
Why not replace the source images with your images in the hive?
Related
I am trying to make my website pages full width but I can't seem to figure out how to do it with my specific shopify theme, Mr. Parker. I think I have to make changes to the stylesheet.css.liquid, but I am struggling to figure it out. Is there a way to make my pages full width in the Mr. Parker theme?
I am a newbie and trying to do this on my own with very little background in this area. Any help is appreciated.
Amy
Hard way:
go learn css , html , js stuff to the end.
Easy way:
i don't know these stuff you said but i know pure CSS and HTML, easy way is to inspect element the page by chrome and check the biggest part of the page, like the <body> tag, then check the style tab and see what is the most top CSS file it's affecting from. change the file and you are ok!
Attention: Front-end developing is a huge field, elements on the page may affect from JavaScript then it could be so much hard for you to change things.
btw its very hard to edit responsive websites for the newbies, cause the elements may affect from multiple lines and codes and by many actions.
I am working on a project which includes a content slider (images, videos, captions) and we use Sitefinity 5.1. I've been playing with Fotorama and now want to add my content to the site. Has anyone here done that and can give me some guidance?
This is what you could do:
Create a Dynamic Module with fields: Title (Short Text), Description (Long Text), Image (Media Picker). If you need other video's than the builtin Sitefinity video's, use another text field for storing the url to that video.
Add some content :)
Create or change the template that the Module Builder created for you so that the Fotorama Javascript and CSS files are loaded correctly. Make sure the markup of the generated template matches the basics of the Fotorama requirements.
Hope this helps you to get started?
Daniel.
I am trying to recreate some effects similar to the div loading effects on this site i.e. there is no visible content when you load the page but upon clicking on a navigation link, it dynamically loads the divs.
http://worldofmerix.com
It is for a film studio website and I would like it to be interactive like this site. Does anyone know how I could achieve these effects with Javascript and/or jQuery?
Thanks for all the help in advance!
Have you used jQuery before or looked at the docs? This is really quite simple using jQuery's built-in animation effects such as fadeIn. The site you've linked to doesn't dynamically load the content - it's all part of the same page and simply displayed and hidden as appropriate.
Here's a rough fiddle showing how it works. Of course, you'd need to work out the styles and quirks in animations.
i have a question about web designing.
there are some ways for design.
CSS or Photoshop.
cSS is clear, my question is not about CSS, but about Photoshop design.
For example this
After design in photoshop when you save the work it makes sllices and converts your template to table cells and keeps each part of the picture in that cells..
but i know that nowdaystables are not usefull for web design, everybody use div and css..
so can u tell me how to export or how to use photoshop to design web pages with div.
I would not use Photoshop for anything other than to create a screenshot-type of graphic that is close to what you are aiming to get to with your web page(s).
For the actual design, start by laying out all of the content in HTML (no CSS). Once all of the content is in there, then you can style the elements to get to the look you want. When styling, the only changes you should be making to the HTML should be to put in IDs and classes to hook your CSS onto. Adding style-oriented elements like <div> and <span> is OK, but should be limited.
Doing the design in this way ensures that you will have a more accessible site, increases the likelyhood of having a more compact site, and will also increase your appeal to search engines.
These tutorials will help you:
http://www.blog.spoongraphics.co.uk/tutorials/encoding-a-photoshop-mockup-into-xhtml-css
Screencast:
http://net.tutsplus.com/articles/news/how-to-convert-a-psd-to-xhtml/
Photoshop software is mainly used for creating layout designs (psd's).
Now a day's everybody using table less designs using div's, almost 80% of HTML pages creating using styles and css only in few areas we have to use graphics (logos, headings with different fonts, images like photography etc) which is not manageable with style and css in that cases we have to work in Photoshop and have to do save for web format as jpeg or png image formats then we have to use this images in html pages with using style sheets.
and mainly div based designs will work with supporting of style sheets everything the layout look and feel we will control with css styles and calling that css as a class names from div's.
Hope this answer will help you a bit.
Thanks
Photoshop is an application for manipulating imagery but it's also packed with tools for building graphics from scratch.In order to explore graphic design within a browser it was only logical to reach for Photoshop, create your visuals, save them as images and use them within a web page.
I have setup some dropdown menus allowing users to find pages on my website by selecting options across multiple dropdowns:
eg. Color of Car, Year
This would generate a link like: mysite.xyz/blue/2010/
The only problem is, because this link is dynamically assembled with Javascript, I've also had to assemble each possible combination from the dropdowns into a list like:
<noscript>
No javascript enabled? Here are all the links:
<a href='mysite.xyz/blue/2009/'>mysite.xyz/blue/2009/</a>
<a href='mysite.xyz/blue/2010/'>mysite.xyz/blue/2010/</a>
<a href='mysite.xyz/red/2009/'>mysite.xyz/red/2009/</a>
<a href='mysite.xyz/red/2010/'>mysite.xyz/red/2010/</a>
</noscript>
My question is, if I put these in a tag like this, will I be penalized or anything by search engines such as Google? I've already been doing so for some navigational stuff which required offsets etc. However, now I would be listing a whole list of links here too. I want to provide them here, moreso so that google can actually index my pages - but for those without javascript, they can still navigate too.
Your thoughts? Also.. even though I have some links that appear to have been indexed, I AM NOT 100% SURE, which is why I'm asking :P
If the noscript code represents an alternative to the javascript code, then it should be fine I think, but Google does try to spot fishy seo and may penalize, so it's better to avoid doing this when possible.
In your case, consider spending some time making a drop down menu such that you can have the links on the page in a list item and use javascript + css to simulate a drop down menu, this way you will not need to use the noscript tag.
A decade ago, I made my website using image links for internal navigation (this at a time when CSS was brand-new and HTML4 Transitional was normal). I then added text navigation links at the bottom of the page.
I believe this (and your idea) is a common enough technique that, as long as you really aren't trying to do something sketchy, Google et al should interpret correctly.
I think the noscript tag is irrelevant, but having a giant list of links links may make their algorithms think you're doing some fishy SEO. Like having a wall of keywords.
Google (or whoever) would index these, and as long as you're not going overboard with a bunch of BS links I don't see a problem. Though from an SEO standpoint, it's not good to create menus from javascript or flash. I might look for an alternative that uses anchor tags with some CSS to dress it up.