Jump to content

Search the Community

Showing results for tags 'target'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Development
    • HTML Coding
    • JavaScript
    • PHP
    • CMS
    • Database
    • Web Server
    • Web-site Development
    • Internet Marketing, SEO
  • Library
    • Tricks and solutions
    • Books
  • Commercial services
    • Freelance
    • Job
    • Goods and Services
  • Our Forum
    • Flame
    • Contests
    • Feedback and Ideas

Calendars

  • Все события

Product Groups

  • Advertising

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Web site


Telegram


Signal


Viber


Skype


From


Interests

Found 2 results

  1. Доброго времени суток, помогите сообразить конструкцию. Есть ссылки, например: <a href="one.html" target="modal">link 1</a> <a href="two.html" target="modal">link 2</a> <a href="three.html" target="modal">link 3</a> И сам фрейм: <iframe name="modal" src="0" id="modalfrm"></iframe> Как по нажатию на ссылку открыть во фрейме ее href="" (при этом оставаться на этой же странице) я сообразил. Не могу сделать модальное окно с фрейма используя только css Есть варианты? Хотелось бы увидеть ваш подход к этому делу. Нашел один из способов сделать модальное окно "CSS Only" Ссылка открывающая модальное окно: <a rel="nofollow" title="позвонить" href="#target-content" class="icon icon-phone"></a> Само модальное окно: <div id="target-content"> <a href="#" class="close"></a> <div id="target-inner"> <h2>Тыры пыры трале вале, я модальное окно</h2> </div> </div> И его CSS код: #target-content { position: fixed; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; opacity: 0; transition: 0.5s; z-index: 999; } #target-content:target { pointer-events: all; opacity: 1; } #target-content #target-inner { position: absolute; display: block; padding: 12px; line-height: 1.8; width: 70%; top: 50%; left: 50%; -webkit-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.2); background: white; color: #34495E; } #target-content a.close { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: black; opacity: 0.8; -webkit-transition: opacity 200ms; transition: opacity 200ms; } #target-content a.close:hover { opacity: 0.4; } Но вот незадача, атрибут target="" уже занят открытием модального окна, как же мне тогда во фрейм загрузить страницу указанную в атрибуте href="" ?
  2. Для того что бы открывалась страница в новом окне браузера прописывать нужно <a href="/test/" target="_blank">Тест</a>, но, для создания валидного кода узнал что теперь атрибут target использовать нельзя! Так что теперь делать, подскажите?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy